Writing Formatted txt to a file (xtreme newbie q)

Miki Tebeka miki.tebeka at zoran.com
Tue May 11 03:16:01 EDT 2004


Hello Uri,

> The data is in the format of a list right now (maybe a dictionary at
> some point) and there is one question and one answer per column. I
> would like to set it up as "Question: Answer" in side-by-side
> formatted columns, or perhaps "Question" over "Answer" in two rows,
> answers on bottom.
Try the "csv" module (http://www.python.org/doc/current/lib/module-csv.html)

HTH.
Miki



More information about the Python-list mailing list