Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

download textdocuments with python

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()
 
PREVIOUS NEXT
Tagged: #download #textdocuments #python
ADD COMMENT
Topic
Name
5+9 =