urllib.urlretrieve("http://free.bsdshell.net/")
fredrik at pythonware.com
fredrik at pythonware.com
Tue Jan 23 07:58:30 EST 2001
Oleg Broytmann wrote:
> Strange problem with urllib: urlretrieve("http://free.bsdshell.net/")
> always reports "Connection refused".
It seems to work from here, with both 1.5.2 and 2.0:
>>> import urllib
>>> urllib.urlretrieve("http://free.bsdshell.net")
('/usr/tmp/@30661.1', <mimetools.Message instance at 80eacf0>)
>>> urllib.urlretrieve("http://free.bsdshell.net/")
('/usr/tmp/@30661.2', <mimetools.Message instance at 80fb438>)
etc.
Cheers /F
Sent via Deja.com
http://www.deja.com/
More information about the Python-list
mailing list