Created
August 21, 2020 06:00
-
-
Save aspose-com-gists/2f9ef0f14351208cb913d9bf4ebec551 to your computer and use it in GitHub Desktop.
Convert Excel to HTML using 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
# load XLSX workbook | |
wb = Workbook("workbook.xlsx") | |
options = HtmlSaveOptions() | |
# show tooltips | |
options.setAddTooltipText(True) | |
# save workbook as HTML file | |
wb.save("workbook.html", options) |
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
# load XLSX workbook | |
wb = Workbook("workbook.xlsx") | |
# save workbook as HTML file | |
wb.save("workbook.html") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment