Re: Problems with debugging Lists

2009-12-12 Thread Lie Ryan
On 12/12/2009 8:28 PM, Sancar Saran wrote: repr works as you say and I had some complaints, it wont format the output. Finding some string in 100 key dictionary in formatted in single line bit problematic. Is it any way to format it ? As has been mentioned, use pprint.pformat() to get what ppri

Re: Problems with debugging Lists

2009-12-12 Thread Sancar Saran
On Saturday 12 December 2009 04:52:26 am Gabriel Genellina wrote: > En Fri, 11 Dec 2009 19:11:38 -0300, Sancar Saran > > escribió: > > In php we had print_r function to see entire array structure. After some > > search I found some equal module named pprint. > > > > And some how this module wont

Re: Problems with debugging Lists

2009-12-11 Thread Gabriel Genellina
En Fri, 11 Dec 2009 19:11:38 -0300, Sancar Saran escribió: In php we had print_r function to see entire array structure. After some search I found some equal module named pprint. And some how this module wont work with mod_wsgi it was something about mod_wsgi portability standards. After so

Problems with debugging Lists

2009-12-11 Thread Sancar Saran
Hello again. I wrote small class for generating and accessing globalized Dictionary. And of course I want to add some kind of debug ability to check what is inside... In php we had print_r function to see entire array structure. After some search I found some equal module named pprint. And so