Last active
December 9, 2019 09:57
-
-
Save 0x4ka5h/080cb3155ded0bf9f1fc5d93144c4b96 to your computer and use it in GitHub Desktop.
convert html to pdf
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 pdfkit | |
| path=input("Enter path of the html file: ") | |
| pdfkit.from_file(path, 'out.pdf') |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
and I convert html in to pdf using pdfkit module in python version 3.x