How to iterate throuhg dictionary

Steve Holden sholden at holdenweb.com
Wed Aug 8 12:53:01 EDT 2001


"Mark Robinson" <m.1.robinson at herts.ac.uk> wrote in message
news:mailman.997284688.4493.python-list at python.org...
> Sorry to be a pain in the rear, but I have tried this with dicts
> containing nultiply nested lists and it is still printing it all on one
> line.
>
> Strange.......and annoying cos it sounds like something I would  use alot
>
RTFM. pprint has a PrettyPrinter object with four options when you create
it. Also see my last posting in this thread (maybe your news hosts didn't
get it yet).

regards
 STeve
--
http://www.holdenweb.com/








More information about the Python-list mailing list