Monitor module imports?

Avery Andrews andrews at pcug.org.au
Sat Oct 12 18:47:29 EDT 2002


Does anyone know an easy way to record the modules that a Python program
is loading - the profiler records the Python ones but not extension
modules.  What I'm interested is the possibility of producing 'MiniPy's
that contain only the stuff needed to run a given application.

Thanks.





More information about the Python-list mailing list