I'm trying to read DBF files from a mailing software called BCC Mail Manager.
I'm not able to read the DBF file into a table:
import from dbf import *
filename = r"MailList.DBF"
db = Table(filename)
Output:
Traceback (most recent call last):
File "sandbox.py", line 6, in <module>
db = Table(filename)
File "/mnt/c/Users/Kevin/Desktop/bash/.local/lib/python3.6/site-packages/dbf/__init__.p
y", line 5672, in __new__
possibles = guess_table_type(filename)
File "/mnt/c/Users/Kevin/Desktop/bash/.local/lib/python3.6/site-packages/dbf/__init__.p
y", line 8932, in guess_table_type
reported = table_type(filename)
File "/mnt/c/Users/Kevin/Desktop/bash/.local/lib/python3.6/site-packages/dbf/__init__.p
y", line 8975, in table_type
raise DbfError("Unknown dbf type: %s (%x)" % (version, version))
dbf.DbfError: Unknown dbf type: 140 (8c)