look for a module without import it

Michele Petrazzo michele.petrazzo at TOGLIunipex.it
Fri Jul 14 08:18:05 EDT 2006


Hi list,
I have to know if a module are present on the system, but I don't want
to import it. Only know if it is present.
I think that a loop on the site-packages directory can do the work, but
is there another solution?

Thanks,
Michele



More information about the Python-list mailing list