+ 3
How can I download files from the internet in python?
I need it for a project
2 Answers
+ 2
Thank you, much appreciated !âșïž
0
import urllib.request
url = 'http://i3.ytimg.com/vi/J---aiyznGQ/mqdefault.jpg'
urllib.request.urlretrieve(url, '/Users/scott/Downloads/cat.jpg')