Excel'i HTML'e dönüştür
Contents
[
Hide
]
Excel’i HTML’e dönüştür
Aspose.Cells for Python via Java API Excel dosyalarını HTML belgesine çevirme imkanı sağlar. Bunun için API,HtmlKaydetme Seçenekleri geliştiricilerin HTML çıktısının çeşitli yönlerini kontrol etmesine izin veren sınıf.
Aşağıdaki kod parçacığı, kullanımını gösterirHtmlKaydetme SeçenekleriExcel Dosyalarını HTML biçiminde dışa aktarmak için sınıf.
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
source_directory = "Examples/SampleFiles/SourceDirectory/" | |
output_directory = "Examples/SampleFiles/OutputDirectory/" | |
save_options = HtmlSaveOptions(SaveFormat.HTML) | |
workbook = Workbook(source_directory + "Book1.xlsx") | |
workbook.save(output_directory + "ConvertingToHTMLFiles_out.html", save_options) |