Convert .csv file into .dbf using Python?

后端 未结 5 1829
情话喂你
情话喂你 2020-12-08 17:44

How can I convert a .csv file into .dbf file using a python script? I found this piece of code online but I\'m not certain how reliable it is. Are there any modules out ther

5条回答
  •  情深已故
    2020-12-08 18:27

    I have created a python script here. It should be customizable for any csv layout. You do need to know your DBF data structure before this will be possible. This script requires two csv files, one for your DBF header setup and one for your body data. good luck.

    https://github.com/mikebrennan/csv2dbf_python

提交回复
热议问题