Checking mail?

Chris Share usenet at caesium.me.uk
Sat Jul 10 13:51:15 CEST 2004


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



More information about the Python-list mailing list