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, [EMAIL PROTECTED] 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, [EMAIL PROTECTED] 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
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/webware-discuss
--
-Mike (Iron) Orr, [EMAIL PROTECTED] (if mail problems: [EMAIL PROTECTED])
http://iron.cx/ English * Esperanto * Russkiy * Deutsch * Espan~ol
_______________________________________________________________
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
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webware-discuss