Python class tree viewer (with wxPython)

Robin Becker robin at jessikat.demon.co.uk
Thu Jun 22 03:32:54 EDT 2000


In article <3951AA42.13155B89 at coolest.com>, Alexander Schonfeld
<alex at coolest.com> writes
>Hi,
>
>I wrote (I mean hacked a demo...for wxOGL) to show class trees of bunches of
>python files.  You can then move them around and take screen shots and bask in
>the glory that is your python classes.
>
>To use:
>       python pyinherit.py d:\cvs\Zope2\lib\python\Products\LoginManager
>       python pyinherit.py [specific .py files and dirs... whatever you want]
>Dirs are recursively traversed with 'walk'... looking for py files.
>etc...
>
>It requires wxPython (a gui lib) from:
>       http://wxpython.org/
>
>Please expand on this if it looks interesting, and email me a copy.
>
>Thanks,
>
>Alex.
>
...
Wow! Now all we need is to apply that algorithm which tries to draw the
diagram decently in planar form.
-- 
Robin Becker



More information about the Python-list mailing list