Python module to format text into columns?

hamish_lawson at hamish_lawson at
Mon Nov 15 06:15:50 EST 1999

Is there a Python module that will take a list of
strings and wordwrap them columnwise, similar to
Perl's format mechanism? For example, if supplied
with the following strings

   "Here is a a paragraph of text."
   "Here is another paragraph of text."

and with appropriate specification of column
widths and alignments, it could produce something

   14/11/1999   Here is a   Here is another
                paragraph   paragraph of text.
                of text.

Hamish Lawson

Sent via
Before you buy.

More information about the Python-list mailing list