Read the complete article on how to convert a PDF file to HTML in Python: https://blog.aspose.com/2022/03/01/convert-pdf-to-html-in-python/
Last active
December 21, 2022 18:02
-
-
Save aspose-com-gists/24198c493efe72e895b38ec04dd6978d to your computer and use it in GitHub Desktop.
Convert PDF to HTML in Python
This file contains 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 aspose.words as aw | |
# Load the PDF file | |
doc = aw.Document("PDF.pdf") | |
# Save the document as HTML | |
doc.save("Document.html") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment