Timeout for urllib.urlopen(...)
glenfant at nospam-e-pack.net
Thu Oct 12 18:07:51 CEST 2000
Many thanks Oleg,
This newsgroup is really fantastic !
Most times I ask for a hint, I get a full solution !
Lots of girls will thank you to enable me playing more python with them than
with my computer ;-)
"Oleg Broytmann" <phd at phd.russ.ru> a écrit dans le message news:
mailman.971364691.27540.python-list at python.org...
> On Thu, 12 Oct 2000, Gilles Lenfant wrote:
> > Has any of you any hint for making like urllib.urlopen(...) but with a
> > TimeOut ?
> > I'm making a script to check if the Web application server is running.
> > If it's down... the urllib.urlopen(...) waits for a reply till...
> > more power supply.
> First thing to try is http://www.timo-tasi.org/python/timeoutsocket.py
> Oleg Broytmann Foundation for Effective Policies
phd at phd.russ.ru
> Programmers don't die, they just GOSUB without RETURN.
More information about the Python-list