12 Oct
2001
12 Oct
'01
1:09 p.m.
Anthony Baxter wrote:
easiest is to embed an invisible 1x1 image in the bottom corner, and make it your external URL.
Although technically you do get a broken image on your page if you do this.
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... cheers, Chris