This script takes a dBASE V .dbf
file and writes the contents of the file in flat-file
format.
The dbflatten
script is quite similar to Section 88, “dbfstruct: Display the structure of a
dBASE V file”,
q.v.
#!/usr/bin/env python #================================================================ # dbflatten: Dump a dBASE .dbf file in flat-file format. # For documentation, see: # http://www.nmt.edu/~shipman/z/ibp/doc/iband7/ims/ #---------------------------------------------------------------- #================================================================ # Imports #---------------------------------------------------------------- import sys from dbf import *