Answers for "writhing requests to text file"

0

writhing requests to text file

import requests

files = {'f': ('1.pdf', open('1.pdf', 'rb'))}
response = requests.post("https://pdftables.com/api?&format=xlsx-single",files=files)
response.raise_for_status() # ensure we notice bad responses
file = open("out.xls", "w")
file.write(response)
file.close()
Posted by: Guest on April-19-2021

Code answers related to "writhing requests to text file"

Code answers related to "TypeScript"

Browse Popular Code Answers by Language