Last active
December 27, 2019 11:03
-
-
Save JosiasAurel/cbef3671a533bd7fcf3858591076d9f7 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import pdftables_api | |
c = pdftables_api.Client('iop40z54d71j', timeout=(60, 3600)) | |
c.html('pdf.pdf', 'html.html') | |
''' | |
install the pdf-tables module using "pip install https://github.com/pdftables/python-pdftables-api/archive/master.tar.gz" | |
add the code above replacing the first argument with your api key which you get by signing up at psf tables | |
the second argument represents the time allowed to connect to the server and time allowed to convert | |
"c.html" represent the output file type | |
at the third significant line, the first argument in this case represent the filename.pdf(input file) and the filename.html(output file) | |
''' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment