To download a file using Python you can use the snippet below.
Sample Python
import urllib.request
import shutil
# file_name = target file name
with urllib.request.urlopen(url) as response, open(file_name, 'wb') as out_file:
shutil.copyfileobj(response, out_file)