gagsl-py2 at yahoo.com.ar
Tue Mar 3 19:48:03 CET 2009
En Tue, 03 Mar 2009 16:39:43 -0200, Fab86 <fabien.hall at gmail.com> escribió:
> I am having a bit on an issue getting my program to work. The online
> database which I am trying to contact keep timing out meaning I can
> not carry out my 200 searches without being interupted.
> I believe that the solution would be to include an exception handler
> with a timer delay if this error occurs so wait a bit then carry on
> however having spent hours looking at this I can not get my head
> around how to do such a thing.
Exactly. How to handle exceptions:
Use time.sleep() to wait for some time:
More information about the Python-list