On Sat, 10 Jul 2004 12:23:08 +0100, Dylan Parry <usenet at dylanparry.com> wrote:
> try {
> something();
> }
> catch (exception e) {
> somethingelse();
> }
I suggest you read http://www.python.org/doc/current/tut/node10.html,
and the rest of the tutorial too.
In short:
try:
code
goes
here
except FooError:
foofix()
chris