[Tutor] exception question

Dave S pythontut at pusspaws.net
Wed Apr 28 04:48:59 EDT 2004


Is it possible, for the code after except to know the exception type. I 
know I can do multiple "except"s for each condition but this is not 
realy what I want.

try:
    ....
    ...code...
    ....
except:
    ...code ....

Cheers
Dave



More information about the Tutor mailing list