Loaded module list and attributes

Dale Strickland-Clark dale at riverhall.NOSPAMco.uk
Mon Jul 30 08:53:41 EDT 2001


How do I itterate through all the loaded modules and find the name of the module and a value of a
local attribute (__version__ in this case)?

I'm writing a small debugging routine and Python internals are still a bit of a black box to me.

Thanks.
--
Dale Strickland-Clark
Riverhall Systems Ltd



More information about the Python-list mailing list