GUI for viewing/editing python data structures?

David wizzardx at gmail.com
Fri Sep 28 02:40:14 EDT 2007


On 9/27/07, Joshua J. Kugler <joshua at eeinternet.com> 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.



More information about the Python-list mailing list