Evgeniy Zamriy <[EMAIL PROTECTED]> writes:
> I have this code:
> try:
> empty_mod = __import__(some_empty_module)
> except ImportError:
> print "test"
> raise
>
> But python doesn't work with this except:
> ImportError: No module named
Your example is incomplete.
Hello, All:
I have this code:
try:
empty_mod = __import__(some_empty_module)
except ImportError:
print "test"
raise
But python doesn't work with this except:
ImportError: No module named
My python version is 2.4.2 (Linux)
Thanks for your replies
--
http://ma