-
Notifications
You must be signed in to change notification settings - Fork 20
Open
Description
I have a lot of DBF files in Dbf3 format.
If I try to read with Dbf5 class, the records are shifted by 1 byte and the reading of records fails, so I wrote a derived class:
class Dbf3(Dbf5):
def __init__(self, dbf, codec='utf-8'):
super().__init__(dbf, codec)
self.f.read(1)
then I modified the _get_recs(self, chunk=None) method to recognize the "M" memo types simply to avoid exception:
# memo fields not supported
elif typ == 'M':
value = self._na
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels