📦
Downloading file
The following code download the file from the given URL.
I use this script in iPhone to download files from any URLs.
from urllib.request import urlretrieve
url = input('URL: ')
filename = url.split('/')[-1]
urlretrieve(url, filename)
print("Downloaded file: {}".format(filename))