Convert PPTX Presentations to ODP in Python
Save a PowerPoint presentation in the OpenDocument Presentation format with Aspose.Slides for Python via Java.
Convert PPTX to ODP in Python
Aspose.Slides for Python via Java can load a PPTX presentation and save it as an ODP file. The conversion preserves the presentation structure and visual content while producing an OpenDocument presentation that can be opened by compatible applications. Microsoft PowerPoint, LibreOffice, and OpenOffice are not required.
Convert PPTX to ODP using Python
Create a Presentation from the PPTX file and call save with SaveFormat.Odp to generate the ODP presentation.
Python code for converting PPTX to ODP
presentation = Presentation("presentation.pptx")
try:
presentation.save("presentation.odp", SaveFormat.Odp)
finally:
presentation.dispose()
How to convert PPTX to ODP in Python
Follow these steps to convert a PPTX presentation to an ODP file.
Install Aspose.Slides for Python via Java .
Configure the package and start the Java Virtual Machine in your application.
Open the source PPTX file with
Presentation.Call
savewithSaveFormat.Odpto write the ODP presentation.
Convert PPTX to Other Supported Formats
You can also convert PPTX presentations to other supported file formats.