Hi all. I have a little script to connect to the internet and download some files. I developed it in my house (direct connection) and it wordked properly. But the problem is that in the office (under a proxy) it doesn't run. My script is like:
import urllib f=urllib.urlopen(SOME_WEB) print f.read I have tried to set the environmet variable http_proxy="192.168.1.100:2929" and also: import urllib proxy={'http','http://192.168.1.100:2929'} and using f=urllib.urlopen(SOME_WEB, proxy) print f.read the error was always the same: (11001, 'getaddrinfo failed') Any idea?? The proxy that we use is normally, in some programs I use a tipical http proxy without authentification without problem. Thanks in advanced. Bye -- http://mail.python.org/mailman/listinfo/python-list