[Tutor] Writing a txt from dbf
Alan Gauld
alan.gauld at btinternet.com
Wed Sep 29 18:33:58 CEST 2010
"Susana Iraiis Delgado Rodriguez" <susana.delgado_s at utzmg.edu.mx>
wrote
> Your guess was rigth, that's what I'm looking for! I need an output
> as:
> beta
> gamma
> etc...
> but I'm showing betagammaetc..
I assume you mean in the file? print adds a newline automatically when
printing to stdout.
Steven already showed you how to add a \n when writing the data to the
file.
Have you tried that? Are you still having problems?
--
Alan Gauld
Author of the Learn to Program web site
http://www.alan-g.me.uk/
More information about the Tutor
mailing list