Suggest a feature
×

Welcome to TagMyCode

Please login or create account to add a snippet.
0
0
 
0
Language: Python
Posted by: Mario Lopes
Added: Nov 18, 2018 6:42 PM
Views: 26
Tags: python-pdf
  1. import requests
  2. response=requests.get('https://XXXX/projetos.pdf')
  3. expdf=response.content
  4. egpdf=open('c:\\ex.pdf','wb')
  5. egpdf.write(expdf)
  6. egpdf.close()
  7.