import requests res = requests.get(URL) with open(fpath_2save, 'rb') as file: file.write(res.content) Post navigation How to assign resources (cpu or memory) to containers that are managed in docker-composeInstall node via nvm on Ubuntu