[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.python

Re: Is there a way to continue after an exception ?

Daniel Fetchinson

2/21/2010 12:33:00 AM

> I would like my program to continue on the next line after an uncaught
> exception,
> is that possible ?

try:
# here is your error
except:
pass

# this will get executed no matter what

See http://docs.python.org/tutorial/e...

HTH,
Daniel



--
Psss, psss, put it down! - http://www.cafepress.com...