Re: [Webware-discuss] Any simple python data -> html viewer

2002-05-28 Thread Terrel Shumway
On Tue, 2002-05-28 at 08:45, [EMAIL PROTECTED] wrote: > > Does it have an html 'pprint'? No. PyCrust (w/filling) is just a python shell with an object browser. wxPython does, however, have an html viewer, and a text viewer with syntax coloring. You could throw in mxTidy[1] to get an indented v

Re: [Webware-discuss] Any simple python data -> html viewer

2002-05-28 Thread Mike Orr
What, is the not being recognized by the browser? pprint always formats to an 80-column screen for me. A bit more concise: print '', pprint.pformat(yourDataStructure), '' On Tue, May 28, 2002 at 09:40:25AM -0700, [EMAIL PROTECTED] wrote: > > The problem with that it makes the browser

Re: [Webware-discuss] Any simple python data -> html viewer

2002-05-28 Thread Tavis Rudd
Another approach is to create log messages that contain the output of pprint or a pickle of the data structure. This allows you to open the log up in a text browser that has auto-line-wrapping and other goodies. On May 28, 2002 09:40 am, [EMAIL PROTECTED] wrote: > The problem with that it make

Re: [Webware-discuss] Any simple python data -> html viewer

2002-05-28 Thread dru-webware
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 '' > pprint(yourDataStructure) > print '' > > On May 28, 2002 08:45 am, [EMAIL PROTECTED] wrote: >

Re: [Webware-discuss] Any simple python data -> html viewer

2002-05-28 Thread Tavis Rudd
oops, make that: print '' pprint(yourDataStructure) print '' 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 La

Re: [Webware-discuss] Any simple python data -> html viewer

2002-05-28 Thread Tavis Rudd
On May 28, 2002 08:45 am, [EMAIL PROTECTED] wrote: > Does it have an html 'pprint'? print '' pprint yourDataStructure print '' > On 28 May 2002, Terrel Shumway wrote: > > On Mon, 2002-05-27 at 11:10, [EMAIL PROTECTED] wrote: > > > Is there any module the provides > > > a simple viewer of python

Re: [Webware-discuss] Any simple python data -> html viewer

2002-05-28 Thread dru-webware
Does it have an html 'pprint'? On 28 May 2002, Terrel Shumway wrote: > On Mon, 2002-05-27 at 11:10, [EMAIL PROTECTED] wrote: > > > > Is there any module the provides > > a simple viewer of python data structures. > > > > I like the exception report, but there are > > times when I would just lik

Re: [Webware-discuss] Any simple python data -> html viewer

2002-05-28 Thread Terrel Shumway
On Mon, 2002-05-27 at 11:10, [EMAIL PROTECTED] wrote: > > Is there any module the provides > a simple viewer of python data structures. > > I like the exception report, but there are > times when I would just like to view > some python objects or dictionaries. > PyCrust is an interactive Pytho

[Webware-discuss] Any simple python data -> html viewer

2002-05-27 Thread dru-webware
Is there any module the provides a simple viewer of python data structures. I like the exception report, but there are times when I would just like to view some python objects or dictionaries. It's easy to build something for a particular case, but I'm wondering if something like this could be