Python程序运行网络访问代理设置

  1. Right click on Computer, and select Properties
  2. On the left, select Advanced system settings
  3. Click on the Advanced tab, then click Environment Variables
  4. Click on New.. under User Variables
  5. 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)
  6. Click OK, then OK, then OK again to dismiss all the dialog boxes.
请使用浏览器的分享功能分享到微信等