Thanks. My problem was not how to use a proxy server but how
to not use the IE proxy :)
BTW, I'm not a fan of the way urllib2 uses a proxy particularly.
I think it's really unneccesarily complicated. I think it should be
something like this:
def urlopen(url, proxy='')
And if you want to use a pro
My guess is urllib.urlopen() wraps the wininet calls, which share
IE proxy settings.
> Perhaps IE's proxy settings are effectively setting the Windows system
> networking proxy settings?
--
http://mail.python.org/mailman/listinfo/python-list
I found out why. I set a proxy in IE and I didn't know
ActiveState Python use IE proxy!
> I'm running ActiveState Python 2.5 on Windows XP. It used
> to work fine. Today however I get (10061, 'Connection refused')
> for any site I try with urllib.urlopen().
--
http://mail.python.org/mailman/list
I'm running ActiveState Python 2.5 on Windows XP. It used
to work fine. Today however I get (10061, 'Connection refused')
for any site I try with urllib.urlopen().
--
http://mail.python.org/mailman/listinfo/python-list
I think what makes more sense is to compare the code one most
typically writes. In my case, I always use range() and never use psyco.
But I guess for most of my work with Python performance hasn't been
a issue. I haven't got to write any large systems with Python yet, where
performance starts to ma