py2dot is a python script to generate a dot file from a python script.
the above picture is a typical py2dot output, from one of the example files available in the distribution. functions are represented by ellipsis, arrows represent function calls, classes are in dashed boxes and imported files in gray boxes.
the output dot file can be viewed with a program liken graphviz.
py2dot is available from pypi.
documentation is available here.

[...] more information are available here. [...]
Pingback by py2dot « lorenzo bolla’s blog — October 5, 2008 @ 2:17 pm