📅  最后修改于: 2022-03-11 14:45:05.890000             🧑  作者: Mango
import requests
url = "https://example-download-py.netlify.app/Downloaded_file.txt"
request = requests.get(url)
file = open("Downloaded_file.txt","w")
file.write(request.text)
file.close()