Konvertieren Sie XLS in HTML

Python-Bibliothek zum Konvertieren von XLS in HTML

Verwenden Sie die Konvertierung API von Cells Cloud, um benutzerdefinierte Tabellenkalkulations-Workflows in Python-Projekten zu erstellen. Dies ist eine professionelle Lösung zum Konvertieren von XLS in HTML und andere Dokumentformate online mit Python.

Konvertieren Sie XLS in HTML mit dem Cloud SDK Cells für Python

API
PUT
https://api.aspose.cloud/v3.0/cells/convert

Das Konvertieren von Dateiformaten von XLS in HTML kann eine komplexe Aufgabe sein. Unser Python SDK verarbeitet alle XLS-Formatkonvertierungen in das HTML-Format und behält dabei den wichtigsten strukturellen und logischen Inhalt der XLS-Quelltabelle bei. Unsere Python-Bibliothek bietet eine professionelle Lösung für die Online-Konvertierung von XLS-Dateien in HTML-Dateien. Dieses Cloud SDK bietet Python-Entwicklern leistungsstarke Funktionen und gewährleistet eine hochwertige HTML-Ausgabe.

Python Codebeispiel für die Konvertierung von XLS in HTML mithilfe des Cloud SDK Cells

# For complete examples and data files, please go to https://github.com/aspose-cells-cloud/aspose-cells-cloud-python/
    import os
    import shutil
    from asposecellscloud.apis.cells_api import CellsApi
    cells_api = CellsApi(os.getenv('ProductClientId'),os.getenv('ProductClientSecret'))
    file1 = cells_api.cells_workbook_put_convert_workbook("Book1.xls",format="html")
    shutil.move(file1, "destFile.html")     

So konvertieren Sie XLS mithilfe der Cells Cloud Python-Bibliothek in HTML.

  1. Registrieren Sie ein Konto unterArmaturenbrett um ein kostenloses API-Kontingent und Autorisierungsdetails zu erhalten
  2. Installieren Sie die Bibliothek Python und fügen Sie die Referenz (importieren Sie die Bibliothek) zu Ihrem Projekt hinzu.
  3. Öffnen Sie die Quelldatei in Python.
  4. Verwenden Sie die Methode `put_convert_workbook`, um den resultierenden Stream abzurufen.

System Anforderungen

  1. Python 2.7 oder neuer
  2. Python 3.10 oder neuer