What is the Most Efficient Way of Printing A Dict's Contents Out In Columns?

Ben Finney ben+python at benfinney.id.au
Tue Jun 14 19:40:29 EDT 2011


Zachary Dziura <zcdziura at gmail.com> writes:

> What I want to know is how I can print out that information in a
> column, where the header is the first line of the column, with the
> data following underneath, like so:

I'm glad you got some good replies. It probably reflects badly on me
that my first thought was <URL:http://bash.org/?5804>.

-- 
 \      “In case of fire, do your utmost to alarm the porter.” —hotel, |
  `\                                                            Vienna |
_o__)                                                                  |
Ben Finney



More information about the Python-list mailing list