12 Oct
2001
12 Oct
'01
1:42 p.m.
On Fri, 12 Oct 2001 15:10:08 +0100, seb bacon <seb@jamkit.com> wrote:
* Chris Withers <chrisw@nipltd.com> [011012 14:13]:
second easiest is to do the naive urllib.urlopen approach - no timeouts, anything like that
you could also do this with a timeout - you have to do some of it yourself, using select.select - I can post some code for this if you like.
IIRC, there's a timeout module you can import floating aroudn somewhere...
I've done timeouts using signals, too. I *think* the signal module is cross platform.
signals wont do *that* job on win32. Toby Dickenson tdickenson@geminidataloggers.com