The following code downloads content from a web address:

import urllib.request
url = 'http://molecularsciences.org'
response = urllib.request.urlopen(url)
mydata = response.read()
mytext = text.decode('utf-8')
print(mytext)

First, we import the urllib library. Third line defines the request. Fourth line read the actual content. Fifth line decodes utf-8. Finally we print the output to screen.