Check module without import it

Kless jonas.esp at
Mon Jun 22 06:06:53 EDT 2009

Is there any way to check that it's installed a module without import
it directly?

I'm using the nex code but it's possible that it not been necessary to
import a module

   import module
except ImportError:
   print 'make anything'

More information about the Python-list mailing list