How to set proxy for a python script to run

subeen tamim.shahriar at gmail.com
Fri Apr 18 12:22:15 EDT 2008


On Apr 18, 12:31 pm, Adam <Jiang.A... at gmail.com> wrote:
> Hi, everyone, I am using /usr/share/system-config-language/
> language_gui.py in Python.
> For some reason I have to bypass the firewall using a proxy. I read
> the urllib reference and set http_proxy="my proxy". But it didn't
> work. Is there anyway that we can set the proxy?

Check the link: http://love-python.blogspot.com/2008/03/use-proxy-in-your-spider.html




More information about the Python-list mailing list