On Thursday 27 September 2007 22:40, David wrote:

> On 9/27/07, Joshua J. Kugler <[EMAIL PROTECTED]> wrote:
>> A while back, I seem to remember coming across a small program that could
>> view and edit python data structures via a nice expanding tree view.  I'm
>> now in need of something like that (to verify data is imported correctly
>> into a shelve file) and having a GUI would be much simpler than trying to
>> wade through the output of str(d) or repr(d).
>>
>> I've tried googling with the obvious keywords (gui (view OR edit) python
>> data structures) but t didn't get me anywhere.
>>
>> Pointers?
>>
> 
> non-gui alternatives: Try pprint module. Or output as yaml (external
> library) into a text file. You could also output as XML (using
> built-in python modules), save to file and then use Firefox or another
> XML gui to inspect it. I haven't done the latter before but it should
> work.

I may give those a try.  I was also looking at the editing aspect too.  But
that's a good start.

Thanks.

j

-- 
Joshua Kugler
Lead System Admin -- Senior Programmer
http://www.eeinternet.com
PGP Key: http://pgp.mit.edu/  ID 0xDB26D7CE

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to