What, is the <PRE> not being recognized by the browser? pprint always
formats to an 80-column screen for me.
A bit more concise:
print '<PRE>', pprint.pformat(yourDataStructure), '</PRE>'
On Tue, May 28, 2002 at 09:40:25AM -0700, dru-webware@... wrote:
> The problem with that it makes the browser scroll
> horizontally for a lot of data structures. (and
> it is not so easy to read.)
> On Tue, 28 May 2002, Tavis Rudd wrote:
> > oops,
> > make that:
> > print '<pre>'
> > pprint(yourDataStructure)
> > print '</pre>'
> > On May 28, 2002 08:45 am, dru-webware@... wrote:
> > > Does it have an html 'pprint'?
> Don't miss the 2002 Sprint PCS Application Developer's Conference
> August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm
> Webware-discuss mailing list
-Mike (Iron) Orr, iron@... (if mail problems: mso@...)
http://iron.cx/ English * Esperanto * Russkiy * Deutsch * Espan~ol