List of functions called in Python source files?

Matthew Schinckel matt at null.net
Fri Jun 16 21:21:34 EDT 2000


"William Dandreta" <wjdandreta at worldnet.att.net> wrote:
> I need to get a list of the external (ones not in the same source
> file) functions called in each Python source file. Does anyone know an
> easy way to do this?
> 
> Bill

You can try using the Python profiler - but it will give you all of the
functions, from this file and from any imports.

I have only used to it compare speeds, but it seems flexible enough to
be able to use it to list functions (and possibly where they came from).

Matt.



More information about the Python-list mailing list