I looked at previous similar questions and got only more confused.
In python 3.4, I want to read an html page as a string, given the url.
In perl I do this w
Try the 'requests' module, it's much simpler.
#pip install requests for installation import requests url = 'https://www.google.com/' r = requests.get(url) r.text
more info here > http://docs.python-requests.org/en/master/