Module inspection by name

Nadav Chernin Nadav.C at qualisystems.com
Tue Sep 22 12:01:03 EDT 2009


Hi all, a have easy question for python developers.

 

Assume I have list of all objects:

 

obj=dir()

 

Now I want to know which object from "obj" list is module.

 

I searched some method in module inspection, but there is not any method
that get 'string' as parameters

 

Any reply will be greatfull  

 

Nadav

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20090922/698b0b5f/attachment.html>


More information about the Python-list mailing list