>>> import requests >>> s = requests.Session() >>> s.get("http://www.baidu.com", proxies={'http': 'http://10.11.4.254:3128'}) <Response [200]>