import urllib.request urllib.request.urlretrieve('https://www.python.org/ftp/python/2.7.6/python-2.7.6.amd64.msi')