Re: How to reset system proxy using pyhton code

2018-02-19 Thread Thomas Jollans
On 2018-02-19 09:57, Sum J wrote: > Hi, > > I am using below python code (Python 2.7) to reset the proxy of my Ubuntu > (Cent OS 6) system, but I am unable to reset the proxy: I'm sure you know this, but CentOS and Ubuntu are two different things. > > Code : > import os > print "Unsett

How to reset system proxy using pyhton code

2018-02-19 Thread Sum J
Hi, I am using below python code (Python 2.7) to reset the proxy of my Ubuntu (Cent OS 6) system, but I am unable to reset the proxy: Code : import os print "Unsetting http..." os.system("unset http_proxy") os.system("echo $http_proxy") print "http is reset" O