1import wget
2
3url = "https://www.python.org/static/img/python-logo@2x.png"
4
5wget.download(url, 'c:/users/LikeGeeks/downloads/pythonLogo.png')
1import urllib.request
2
3print('Beginning file download with urllib2...')
4
5url = 'http://i3.ytimg.com/vi/J---aiyznGQ/mqdefault.jpg'
6urllib.request.urlretrieve(url, '/Users/scott/Downloads/cat.jpg')
7