def saveDbf(self, target):
        """Save a dbf file."""
        if not hasattr(target, "write"):
            target = os.path.splitext(target)[0] + '.dbf'
        self.dbf = self.__getFileObj(target)
        self.__dbfHeader()
        self.__dbfRecords()
def saveDbf ( self , target ) : if not hasattr ( target , "write" ) : target = os . path . splitext ( target ) [ 0 ] + '.dbf' self . dbf = self . __getFileObj ( target ) self . __dbfHeader ( ) self . __dbfRecords ( )
Save a dbf file.