code: 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()
docs: Save a dbf file.