andrea.crotti.0 at gmail.com
Mon Jul 16 22:41:31 CEST 2012
On 07/16/2012 02:26 AM, hamilton wrote:
> Is there any software to help understand python code ?
Sometimes to get some nice graphs I use gprof2dot
or doxygen (http://www.stack.nl/~dimitri/doxygen/)
gprof2dot analyses the output of the profiling that you get running the
code through the python profiler,
doing for example:
python -m cProfile -o $STATS $FNAME $@
$GPROF2DOT -f pstats $STATS | dot -T$TYPE -o $OUT
doxygen is more useful for C++ but it's also able to infer a few things
(without running) from a python project..
More information about the Python-list