+ 3
How can I download files from the internet in python?
I need it for a project
2 ответов
+ 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')