How to catch str exception?
anuraguniyal at yahoo.com
anuraguniyal at yahoo.com
Fri May 15 10:12:21 EDT 2009
> except TypeError,e:
> print "1",e # is caught here
>
> 1 exceptions must be classes or instances, not str
doesn't happen so in 2.5.2
More information about the Python-list
mailing list