# -*- coding: utf-8 -*-import requestshttp_proxy = 'http://127.0.0.1:80'proxyDict = {"http" : http_proxy}r = requests.get('http:// ip.42.pl /raw', proxies=proxyDict, verify=False)print(r.status_code, r.reason)print(r.text + '...')
Standard input is empty
Standard output is empty
Traceback (most recent call last): File "<builtin>/app_main.py", line 75, in run_toplevel File "prog.py", line 2, in <module> import requests ImportError: No module named requests
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!