Q: urlopen and timeout
phd at phd.pp.ru
Thu Feb 8 13:30:14 CET 2001
On Wed, 7 Feb 2001, Hwanjo Yu wrote:
> Although it may have the default timeout in the function, it seems to wait
> forever sometimes because of the unexpected web site's behavior. Is there
> any way to set the timeout explicitly ?
> The socket function also doesn't have timeout parameter, so I don't have any
> idea when the socket connection function is gonna return.
> How to set timeout for these cases ?
timeoutsocket.py at http://www.timo-tasi.org/python/
Oleg Broytmann http://phd.pp.ru/ phd at phd.pp.ru
Programmers don't die, they just GOSUB without RETURN.
More information about the Python-list