creating a list of all imported modules

Tim Michelsen timmichelsen at gmx-topmail.de
Mon Mar 9 20:01:10 EDT 2009


Hello,


how do I create a list of all modules imported by my module/script and 
which are present in the namespace?

I am looking for something like %who in Ipython.

My aim is to create a file for the documentation that shows all 
dependencies of my script on external (3rd party) libraries.

Thanks for your help in advance.

Regards,
Timmie




More information about the Python-list mailing list