Re: configure urllib.urlretrieve timeout

2007-10-07 Thread Steve Holden
Abandoned wrote: > Hi.. > I want to set 30 second urllib.urlretrieve timeout.. > Because if urllib.urlretrieve can't connect to page wait 1-2 hour... > I download the images to my server with urlretrieve if you know the > better way please help me. > > I'm sorry my bad english.. > import socket s

configure urllib.urlretrieve timeout

2007-10-07 Thread Abandoned
Hi.. I want to set 30 second urllib.urlretrieve timeout.. Because if urllib.urlretrieve can't connect to page wait 1-2 hour... I download the images to my server with urlretrieve if you know the better way please help me. I'm sorry my bad english.. -- http://mail.python.org/mailman/listinfo/pyth