Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/python-3.x/19.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
在Python中加载带有代理的web视图_Python_Python 3.x - Fatal编程技术网

在Python中加载带有代理的web视图

在Python中加载带有代理的web视图,python,python-3.x,Python,Python 3.x,我需要将URL加载到代理后面的web视图。是否有任何方法或包来实现这一点。 我使用的是加载URL,但是在这个包中找不到任何关于代理的用法: < P>,你是否考虑在同一个shell中输出EnvivNETs变量?< /P> export http_proxy=http://user:password@host:port export https_proxy=http://user:password@host:port 谢谢你的回答,我想随着时间的推移动态地更改代理,我认为这个解决方案行不通

我需要将URL加载到代理后面的web视图。是否有任何方法或包来实现这一点。
我使用的是加载URL,但是在这个包中找不到任何关于代理的用法:

< P>,你是否考虑在同一个shell中输出EnvivNETs变量?< /P>
export http_proxy=http://user:password@host:port
export https_proxy=http://user:password@host:port

谢谢你的回答,我想随着时间的推移动态地更改代理,我认为这个解决方案行不通