On May 21, 11:17 pm, dmitrey <[EMAIL PROTECTED]> wrote:
> howto check does module 'asdf' exist (is available for import) or no?

try :
  import asdf
  del asdf
except ImportError :
  #do stuff ...

> (without try/cache of course)

Oops sorry, you didn't want it the obvious way ... but why ever not?



-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to