[Tutor] Getting the real exception clause

Jim Mooney cybervigilante at gmail.com
Mon Jun 17 02:04:10 CEST 2013


On 16 June 2013 16:41, Dave Angel <davea at davea.name> 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 ;')

Jim
After indictment the bacon smuggler was put on the no-fry list


More information about the Tutor mailing list