Re: How to set proxy for a python script to run

2008-04-18 Thread subeen
On Apr 18, 12:31 pm, Adam <[EMAIL PROTECTED]> 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

Re: How to set proxy for a python script to run

2008-04-18 Thread Soltys
Adam pisze: > 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? I did

How to set proxy for a python script to run

2008-04-17 Thread Adam
Hi, I am using a script written in Python. For some reasons I should pass the fireware by proxy setting. But it seems not work when I set the 'http_proxy' 'ftp_proxy' environment variable. I also expored 'HTTP_PROXY' 'FTP_PROXY', but the problem remained. How can I set proxy for it to run the scrip

How to set proxy for a python script to run

2008-04-17 Thread Adam
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? -- http://mail.python.org/ma