Here\'s my code:
import urllib2.request response = urllib2.urlopen(\"http://www.google.com\") html = response.read() print(html)
Any help?
In python 3, to get text output:
import io import urllib.request response = urllib.request.urlopen("http://google.com") text = io.TextIOWrapper(response)