André <[EMAIL PROTECTED]> wrote in
news:[EMAIL PROTECTED]: 

> How about something like the following (untested)
> 
> done = False
> while not done:
>   try:
>      some_function()
>      done = True
>   except:
>      some_function2()
>      some_function3()

Sure, that works, but I was aiming for something more elegant and Pythonic 
;).


-- 
 _______                                        Karlo Lozovina - Mosor
|   |   |.-----.-----.     web: http://www.mosor.net || ICQ#: 10667163
|       ||  _  |  _  |             Parce mihi domine quia Dalmata sum.
|__|_|__||_____|_____|
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to