'pretty print' for built in types

2008-12-09 Thread Robert Dailey
Hi, Is there a built in way to 'pretty print' a dict, list, and tuple (Amongst other types)? Dicts probably print the ugliest of them all, and it would be nice to see a way to print them in a readable way. I can come up with my own function to do this, but I don't want to do this if I don't have

Re: 'pretty print' for built in types

2008-12-09 Thread eric
On Dec 9, 4:31 pm, Robert Dailey [EMAIL PROTECTED] wrote: Hi, Is there a built in way to 'pretty print' a dict, list, and tuple (Amongst other types)? Dicts probably print the ugliest of them all, and it would be nice to see a way to print them in a readable way. I can come up with my own

Re: 'pretty print' for built in types

2008-12-09 Thread aspersieman
On Tue, 09 Dec 2008 17:31:41 +0200, Robert Dailey [EMAIL PROTECTED] wrote: Is there a built in way to 'pretty print' a dict, list, and tuple (Amongst other types)? Dicts probably print the ugliest of them all, and it would be nice to see a way to print them in a readable way. I can come up

Re: 'pretty print' for built in types

2008-12-09 Thread Chris Rebert
On Tue, Dec 9, 2008 at 7:31 AM, Robert Dailey [EMAIL PROTECTED] wrote: Hi, Is there a built in way to 'pretty print' a dict, list, and tuple (Amongst other types)? Dicts probably print the ugliest of them all, and it would be nice to see a way to print them in a readable way. I can come up