[Tutor] [Fwd: Re: Problems writing data into a file]

Andreas Kostyrka andreas at kostyrka.org
Mon Dec 18 12:17:09 CET 2006

* Stefan Heyne <stefan.heyne at epfl.ch> [061218 09:51]:
> OK, thanks....no I get the data into a file output..but I still am stuck 
> with the formatting...
> 1) there are brackets around the data that are due to the necessary (??) 
> conversion to a string
> 2) I cannot figure out how to insert a newline command....
    line = "%s, [%s], [%s]\n" % (testline)


More information about the Tutor mailing list