You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
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:
then I modified the _get_recs(self, chunk=None) method to recognize the "M" memo types simply to avoid exception:
The text was updated successfully, but these errors were encountered: