Why isn\'t this simple Python code working?
import urllib file = urllib.urlopen(\'http://www.google.com\') print file.read()
This is the er
for python 3:
import urllib.request proxies=urllib.request.ProxyHandler({'http':None}) opener=urllib.request.build_opener(proxies) urllib.request.install_opener(opener) j=urllib.request.urlopen(url="https://google.com") k=j.read() print(k)