Python 2.5 won't let me use this syntax:
try:
code_that_raises_exception()
except Exception as e:
print e
raise
So how should I print information about an exception?
Thanks
EDIT: I'm writing a plugin for a program that includes kind of a pseudo python interpreter. It prints print
statements but doesn't show exceptions at all.