En Mon, 21 May 2007 10:13:02 -0300, dmitrey <[EMAIL PROTECTED]> escribió:

> And howto check does module 'asdf' exist (is available for import) or
> no? (without try/cache of course)

What's wrong with this:

try: import asdf
except ImportError: asdf = None

...later...

if asdf:
     asdf.zxcv(1)
     ...

-- 
Gabriel Genellina

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

Reply via email to