Export des Tabellenformats für Python

Aspose.Cells FOSS for Python provides straightforward export from Excel workbooks to every format the FOSS library supports. A single workbook.save() Call verarbeitet die gesamte Ausgabe-Pipeline XLSX, CSV, TSV oder JSON ∙ und bewahrt Zellwerte und Formeln ohne Microsoft Office.

Installation und Einrichtung

pip install aspose-cells-foss

Importieren der Kernklassen:

from aspose.cells_foss import Workbook, SaveFormat, Cell
from aspose.cells_foss import MarkdownHandler, MarkdownSaveOptions
from aspose.cells_foss import CSVSaveOptions

Unterstützte Ausgabeformate

Format der DatenbankKonstante für SaveFormatAnmerkungen
XLSXSaveFormat.XLSXStandardformat; bewahrt Stile, Formeln und Diagramme.
CSVSaveFormat.CSVKomma getrennt; Standard nur das erste Blatt
TSVSaveFormat.TSVNur für den Lesen. workbook.save() unterstützt keine Erhöhungen der TSV-Rate ValueError bei der Ausführung.
AbzugSaveFormat.MARKDOWNErstellt Standard-Markentabellen
JSONSaveFormat.JSONStrukturelle Darstellung von Datenblättern in JSON-Format

Wichtig:Zellen FOSS ist: nicht . Die Unterstützung für den Export in PDF, HTML, PNG, TIFF, DOCX oder PPTX. Diese sind im kommerziellen aspose-cells-python Nur für die Verpackung.


Siehe auch:

 Deutsch