On 06/16/2013 08:04 PM, Jim Mooney wrote:
On 16 June 2013 16:41, Dave Angel <[email protected]> wrote:
But if you have some other reason to do it your way, then just look at the
type of err.
print( type(err), err)
Yes, that's what I was looking for. It's just a learning tool to see
the exceptions without the ugly BUNG! and red traceback screen I get
from my IDE, then having to close the message-box so I can see the
interpreter again ;')
So let me get this straight. Your IDE is busted and ruins the standard
error traceback message. So you catch "exception" and try to recreate
the feature as it was intended to work.
I'd look closer at the IDE and see if it's configurable to remove ugly
features.
--
DaveA
_______________________________________________
Tutor maillist - [email protected]
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor