understanding someone else's program

Laurent Pointal laurent.pointal at free.fr
Mon Nov 18 23:42:53 CET 2013


C. Ng wrote:

> Hi all,
> 
> Please suggest how I can understand someone else's program where
> - documentation is sparse
> - in function A, there will be calls to function B, C, D.... and in those
> functions will be calls to functions R,S,T.... and so on so forth...
> making it difficult to trace what happens to a certain variable
> 
> Am using ERIC4 IDE.

To help for documentation, you may test pycallgraph, eventually depgraph if 
there are multiple modules.


http://pycallgraph.slowchop.com/en/master/
http://www.tarind.com/depgraph.html

A+
Laurent.

-- 
Laurent POINTAL - laurent.pointal at laposte.net




More information about the Python-list mailing list