Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!aioe.org!feeder.news-service.com!newsfeed.xs4all.nl!newsfeed5.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.007 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'wed,': 0.03; 'snippet': 0.07; 'am,': 0.14; 'received:209.85.214.174': 0.14; 'received :mail-iw0-f174.google.com': 0.14; 'wrote:': 0.14; 'angelico': 0.16; 'finney': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'subject: \n ': 0.16; 'subject:Out': 0.16; 'things.': 0.16; 'writes:': 0.19; 'header:In-Reply-To:1': 0.21; 'badly': 0.22; 'referring': 0.23; "i'm": 0.27; 'message- id:@mail.gmail.com': 0.28; 'received:209.85.214': 0.28; 'subject:?': 0.29; 'print': 0.31; 'to:addr:python-list': 0.33; 'women': 0.33; 'list': 0.33; 'chris': 0.34; "we're": 0.34; 'subject:What': 0.35; 'probably': 0.36; 'difference': 0.37; 'received:google.com': 0.37; 'received:209.85': 0.37; 'url:org': 0.38; 'data': 0.38; 'subject:: ': 0.38; 'some': 0.38; 'received:209': 0.39; 'got': 0.39; 'to:addr:python.org': 0.39; 'header': 0.40; 'simply': 0.60; 'glad': 0.66; 'so:': 0.84 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=lO/01i3CY1hlfa1g4iYf+ywNuKaG2T9lwoKUsJwdP+4=; b=hifoDEE8eEamb/64dwaAMlI43jVJf/oUEWduiJqjVNrHoMe+AilaUhw17L815te0yj F45CILeIMO+ZWLZl0wNIPWYxSz82YJErnz56nu+ZjAY8uVSI7J5PiUwisAo6wp1M3bmD TiMSLyBhs8kf8TYisGmYyE56HNhVT6jgEqR/E= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=DW6u7so4CF9lXK6WfFdgCqrKJU8Cycl800TORXEeVcZTN2PZhRLzUdgvYNqNMZpS2N iHmh0gO1DKqAEAZ0DZzS9ym4r6Ayzf37uCx22497VkE+ekYCkQeBaiAuQSilqUorQJ1Y 1fJ8Co3rL2Aji+zC/IfQhe42/wjYi7MhM/iBA= MIME-Version: 1.0 In-Reply-To: <8762o8t21e.fsf@benfinney.id.au> References: <22011833-0833-4589-8326-909f4c57f1aa@a10g2000vbz.googlegroups.com> <8762o8t21e.fsf@benfinney.id.au> Date: Wed, 15 Jun 2011 10:08:53 +1000 Subject: Re: What is the Most Efficient Way of Printing A Dict's Contents Out In Columns? From: Chris Angelico To: python-list@python.org Content-Type: text/plain; charset=ISO-8859-1 X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 16 NNTP-Posting-Host: 82.94.164.166 X-Trace: 1308096536 news.xs4all.nl 49175 [::ffff:82.94.164.166]:58088 X-Complaints-To: abuse@xs4all.nl Xref: x330-a1.tempe.blueboxinc.net comp.lang.python:7650 On Wed, Jun 15, 2011 at 9:40 AM, Ben Finney wrote: > Zachary Dziura 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 . 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