In Python,
When using the default except (like following)
try:
some code that might blow up
except:
print "some error message"
Is there a way to show what error it is throwing?
Like in Java, you can do
catch (Exception e){
System.out.println(e);
}
Or something like that.
Is there an equivalent way to do this in Python?
--
http://mail.python.org/mailman/listinfo/python-list
