If I execute the following code:
imported = sys.modules.keys()
print imported

Do I indeed get a list of _all_ modules imported by this module?
If so, then could anyone offer suggestion on how to "parse" the
non-standard modules from this list. I.E. modules _not_ included in
the standard python distribution.

I can get a list of what appears to be all modules by starting the
python interperter, invoke help() and then modules <enter>, but
I'm looking for some way to do it programmatically.

Using  Python 2.5.1 on ubuntu 7.10
thanks
tim
_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to