Converting Excel Files to HTML in Python
Contents
[
Hide
]
Aspose.Cells - Converting Excel File to HTML
To convert Excel to HTML using Aspose.Cells for Java in Python, simply invoke worksheet_to_html() method of Converter module.
Python Code
saveFormat = self.SaveFormat
workbook = self.Workbook(self.dataDir + "Book1.xls")
#Save the document in PDF format
workbook.save(self.dataDir + "OutBook1.html", saveFormat.HTML)
\# Print message
print "\n Excel to HTML conversion performed successfully."
Download Running Code
Download Converting Excel File to HTML (Aspose.Cells) from any of the below mentioned social coding sites: