[Chicago] Walking a class tree using dir

Brantley Harris deadwisdom at gmail.com
Wed Aug 17 03:22:04 CEST 2011


Ohhh, you want something more visual.

Yeah, that would be fun.  Personally I would make something that
created a json dump, and then render it in HTML, it would be easy to
explore things / documentation, etc.

Hell you could even have it update live as your changing things.  Now
that would be neat.

On Tue, Aug 16, 2011 at 7:52 PM, Joshua Herman <zitterbewegung at gmail.com> wrote:
> I would think it would be useful so I could get like a UML diagram of
> all of the python methods etc...
>
>
> ---Profile:---
> http://www.google.com/profiles/zitterbewegung
>
>
>
>
>
> On Tue, Aug 16, 2011 at 6:28 PM, Brantley Harris <deadwisdom at gmail.com> wrote:
>> Not that I'm aware of.  But this would be a good exercise for
>> learning, or rather trivial for most intermediate pythoners.
>>
>> On Tue, Aug 16, 2011 at 2:07 PM, Joshua Herman <zitterbewegung at gmail.com> wrote:
>>> Is there any utility that will walk through the class tree? What I
>>> mean as follows
>>>
>>> Given an input of a class. Lets call it Idiot
>>> Idiot has three subclasses. Dunce , Troll and __init__
>>> Dunce and Troll both have associated methods also.
>>>
>>>
>>> The output would be such
>>>
>>> idiot --> Dunce, Troll
>>> Dunce --> Talk
>>> Troll -> Make fun of python listserv
>>>
>>> Is there a python program that would walk it for me and generate a
>>> graph or a text output of all the dir's
>>>
>>>
>>>
>>> ---Profile:---
>>> http://www.google.com/profiles/zitterbewegung
>>> _______________________________________________
>>> Chicago mailing list
>>> Chicago at python.org
>>> http://mail.python.org/mailman/listinfo/chicago
>>>
>> _______________________________________________
>> Chicago mailing list
>> Chicago at python.org
>> http://mail.python.org/mailman/listinfo/chicago
>>
> _______________________________________________
> Chicago mailing list
> Chicago at python.org
> http://mail.python.org/mailman/listinfo/chicago
>


More information about the Chicago mailing list