Read the complete article on how to convert a PDF file to HTML in Python: https://blog.aspose.com/words/convert-pdf-to-html-in-python/
Last active
January 7, 2025 14:38
-
-
Save aspose-com-gists/24198c493efe72e895b38ec04dd6978d to your computer and use it in GitHub Desktop.
Convert PDF to HTML in Python
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 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
Great!
Various features are free, but you can get a free temporary license to explore full potential of the library.