Ignore exceptions

Mike Driscoll kyosohma at gmail.com
Thu Jan 24 15:27:27 EST 2008


On Jan 24, 2:13 pm, SMALLp <po... at mzm.hr> wrote:
> Hy. Is there any way to make interrupter ignore exceptions. I'm  working
> on bigger project and i used to put try catch blocks after writing and
> testing code what's boring and it's easy to make mistake. I remember of
> something like that in C++ but I cant find anythin like that for python.
>
> SMALLp

See the try statement:

http://docs.python.org/ref/try.html
http://www.network-theory.co.uk/docs/pytut/HandlingExceptions.html
http://docs.python.org/api/exceptionHandling.html

Mike



More information about the Python-list mailing list