import ydbf ydbf open bigg dbf ydbf open simple dbf fields encoding cp

1
2
3
4
5
>>> import ydbf
>>> r = ydbf.open('bigg.dbf')
>>> w = ydbf.open('simple.dbf', 'w', r.fields, encoding='cp1251')
>>> w.write(r)
>>> w.close()