En Tue, 03 Mar 2009 16:39:43 -0200, Fab86 <fabien.h...@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: http://docs.python.org/tutorial/errors.html Use time.sleep() to wait for some time: http://docs.python.org/library/time.html#time.sleep -- Gabriel Genellina -- http://mail.python.org/mailman/listinfo/python-list