Download files using Python 3

Posted on Wed 18 January 2017 in python • 1 min read

To download files accessible over HTTP(S) where you are generating their URLs with Python 3, saving can be done with

from urllib.request import urlretrieve
urlretrieve(url, local_filename)