[Tutor] Writing a txt from dbf
Susana Iraiis Delgado Rodriguez
susana.delgado_s at utzmg.edu.mx
Tue Sep 28 20:33:51 CEST 2010
Hello dear pythonists:
I'm developing an application in python, I'm new using this programming
language I used to work with Java, but in my job my superiors suggested me
to develop in this language.
I'm trying to read a dbf file, I already done it but my code shows me all
the lines without spaces, I want it toshow line per line and then write the
lines into a plain txt file. My code is:
from dbf import *
from string import strip
a = open ("archivo.txt","w")
dbf = Dbf('tapalpa_05_plani_point.dbf',new=False)
for k in dbf:
I hope you can help me.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Tutor