how could we know which module is imported already ?

Thomas Jensen spam at ob_scure.dk
Fri Sep 6 06:55:22 EDT 2002


black wrote:
> want to know how many and what the module is imported~

Have a look at sys.modules

import sys
print len(sys.modules)

-- 
Best Regards
Thomas Jensen
(remove underscore in email address to mail me)




More information about the Python-list mailing list