On Feb 17, 4:58 am, Nandakumar Chandrasekhar navanitach...@gmail.com
wrote:
Dear Folks,
In previous versions of Python I used to use e.message() to print out
the error message of an exception like so:
try:
result = x / y
except ZeroDivisionError, e:
print e.message()
Dear Folks,
In previous versions of Python I used to use e.message() to print out
the error message of an exception like so:
try:
result = x / y
except ZeroDivisionError, e:
print e.message()
Unfortunately in Python 2.6 the message method is deprecated.
Is there any