Makzan / I share what I learned

A simple Python script to download file in iOS

from urllib.request import urlretrieve

url = input('URL: ')
filename = url.split('/')[-1]
urlretrieve(url, filename)
print("Downloaded file: {}".format(filename))

Published on 2019-04-29. More articles like this:
- Code Snippets
- Productivity
- Working on iPad

Previous <- Trying PreText
Next -> iOS Shortcut: Convert PDF to Image

Want productive tips and web technologies links like this in your inbox each week? Sign up for weekly dispatch each week. No spam ever. Just useful content: