[IronPython] How to catch exception
l.oluyede at gmail.com
Fri Oct 1 13:21:42 CEST 2004
On Fri, 1 Oct 2004 15:58:25 +0530, senthilkumar
<senthilkumar.chockalingam at kla-tencor.com> wrote:
> How to use try-catch block in the python file. I want to write my block of
> code within try catch block. The code may be instance of component in GAC
> and its method invocation.
Python does have: try...except or try..finally
# your code
# handle the exception
For more info see there: http://docs.python.org/tut/node10.html
"If the implementation is hard to explain, it's a bad idea."
from The Zen of Python by Tim Peters
More information about the Ironpython-users