DBF - encoding cp1250

前端 未结 3 1300
青春惊慌失措
青春惊慌失措 2021-01-18 12:46

I have dbf database encoded in cp1250 and I am reading this database using folowing code:

import csv
from dbfpy import dbf
import os
import sys

filename = s         


        
3条回答
  •  南笙
    南笙 (楼主)
    2021-01-18 13:22

    Try using my dbf library:

    import dbf
    with dbf.Table('test.dbf') as table:
        dbf.export(table, 'junk.csv')
    

提交回复
热议问题