[Tutor] Displaying data in columns

Emile van Sebille emile at fenx.com
Mon May 7 17:21:42 CEST 2012

On 5/7/2012 6:43 AM Thomas C. Hicks said...

> I would like to display some of the items in the tuples in columnar
> format with each column lining up on the left side
> I am not against reading
> documentation, just can't find the right module to read about.

You'll want to read up on the string interpolation related docs. Start 
with http://docs.python.org/release/2.5.2/lib/typesseq-strings.html or 
the equivalent for your python version.


More information about the Tutor mailing list