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

Chris Angelico rosuav at gmail.com
Tue Jun 14 20:08:53 EDT 2011


On Wed, Jun 15, 2011 at 9:40 AM, Ben Finney <ben+python at benfinney.id.au> wrote:
> 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>.

Well *OBVIOUSLY* the difference is that that snippet is referring to
"Ms Access", and on this list we're working with "Montgomery Python",
and as we all know, women simply cannot do these things.

Chris Angelico
/me ducks the slings and arrows of outrageous sexism



More information about the Python-list mailing list