Representation of python code ?

Maric Michaud maric at
Mon Sep 15 13:38:42 CEST 2008

Le Sunday 14 September 2008 15:44:03 Barak, Ron, vous avez écrit :
> Hi Guys,
> Is there a script/application, which gets as input python code, and
> produces a (graphic) representation of the inter-relationships between its
> classes/functions ? Bye,

None I know of. Not saying that it would be unfeasible, but it would be a hard 
job, given the fact that most of relationships are purely dynamic.

How such an application would find the relationship (composition) between A 
and B without executing this code ?

class A :
    def __init__(self) :
         self._b = B()

class B : pass


Maric Michaud

More information about the Python-list mailing list