gtill60 at gmail.com
Wed Feb 18 17:22:59 EST 2009
On Feb 18, 3:39 pm, "Gabriel Genellina" <gagsl-... at yahoo.com.ar>
> En Wed, 18 Feb 2009 12:15:25 -0200, Steve Holden <st... at holdenweb.com>
> > gtillmon wrote:
> >> I would like to know how to display and store the path of each mondule
> >> that is called.
> > It's certainly possible to trace function calls, if that would help.
> > sys.settrace allows you to establish a function that gets called
> If the OP is only interested in import statements, perhaps the -v flag is
> python -v script_name.py
> It prints a line (on stderr) for each module imported, stating its name
> and source file.
> Gabriel Genellina
Thanks for the information.
More information about the Python-list