question relateding to parsing dbf files.

K

Krishnakant Mane

hello all.
I need to parse some dbf files through python.
the reason being that I have to migrate some old data from dbf files
to postgresql.
all that I need to know is if some one has got a working code sample
using dbfpy.
I found this module suitable for my work but can't figure out how to use it.
else, if there is any other module, please recommend so.
happy hacking.
Krishnakant.
 
D

Daniel Mahoney

hello all.
I need to parse some dbf files through python.
the reason being that I have to migrate some old data from dbf files
to postgresql.
all that I need to know is if some one has got a working code sample
using dbfpy.
I found this module suitable for my work but can't figure out how to use it.
else, if there is any other module, please recommend so.
happy hacking.
Krishnakant.

It's pretty simple, but there is a small example on dbfpy's Sourceforge
page (http://dbfpy.sourceforge.net/).

Also, it's really the long way around, but ActiveState's cookbook section
has a recipe for reading and writing DBF files in Python without using
dbfpy. It's at
http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/362715
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,780
Messages
2,569,611
Members
45,277
Latest member
VytoKetoReview

Latest Threads

Top