Python程序运行网络访问代理设置
-
zchbaby2000
2018-01-01 14:14:17
-
数据分析
-
原创
-
Right click on Computer, and select Properties
-
On the left, select Advanced system settings
-
Click on the Advanced tab, then click Environment Variables
-
Click on New.. under User Variables
-
In Variable name, type HTTP_PROXY and in Variable value, type http://username:password@proxy.com:port (where proxy.com is the hostname or IP address of your proxy, and port is the port for it - grab it from Internet Explorer)
-
Click OK, then OK, then OK again to dismiss all the dialog boxes.