So I would like to get some files off the Internet. I have Win2K and work behind proxy:

>>> urllib.getproxies()
{'ftp': 'ftp://gate01:8080', 'http': 'http://gate01:8080'}

So Python obviously knows my proxies. These are specified in my IE settings too.

But when I try

>>> x=urllib.urlopen('http://www.python.org')

or any other site, I get the same "(10060, 'Operation timed out')" error.

I also tried something like this

>>> u=urllib.FancyURLopener(proxies = {'http':'http://gate01:8080'})
>>> x=u.open('http://www.python.org')

I got the same error.

I imported Python ping module to check if Python sees my proxy. Yes, it does.

>>> ping.pingNode(node='gate01', number=3)
PING gate01 (172.20.3.100): 84 data bytes (20+8+56)
64 bytes from 172.20.3.100: icmp_seq=1 ttl=122 time=0.00000 ms
64 bytes from 172.20.3.100: icmp_seq=2 ttl=122 time=9.99999 ms
64 bytes from 172.20.3.100: icmp_seq=3 ttl=122 time=9.99999 ms
--- gate01 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max/stddev = 0.000/6.667/10.000/4.714 ms

So I'm out of ideas. What am I doing wrong? Btw, IE loads www.python.org in less than a second, so the site was not busy at the time. I also tried couple of other sites.