Re: Connecting to internet under proxy

2006-07-28 Thread Schronos
I don't know where is the problem, but I tried the same that you put and it failed. I tested it under cygwin, a cmd, linux with 2.2, 2.3 and 2.4 python version. I think taht the problem is my corporate proxy. In this sentences we use always a http proxy, but perhaps is not the suitable kind of pro

Re: Connecting to internet under proxy

2006-07-24 Thread Steve Holden
Chema wrote: > 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=url

Connecting to internet under proxy

2006-07-24 Thread Chema
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.r