>>> import urllib.request
>>> #urllib.request.urlretrieve(url, filename=None, reporthook=None, data=None)
#Copy a network object denoted by a URL to a local file
>>> local_filename, headers = urllib.request.urlretrieve('http://python.org/')
>>> html = open(local_filename)
>>> html.close()