Convert ODP Presentations to PPTX in Python
Transform an ODP presentation into an editable PPTX file with Aspose.Slides for Python via Java.
Convert ODP to PPTX in Python
Aspose.Slides for Python via Java can load an ODP presentation and save it as a PPTX file while preserving its slides and content. PPTX is the macro-free presentation format based on Office Open XML. The conversion does not require Microsoft PowerPoint, LibreOffice, or OpenOffice.
Convert ODP to PPTX using Python
Create a Presentation from the ODP file and call save with SaveFormat.Pptx to create the PPTX file.
Python code for converting ODP to PPTX
presentation = Presentation("presentation.odp")
try:
presentation.save("presentation.pptx", SaveFormat.Pptx)
finally:
presentation.dispose()
How to convert ODP to PPTX in Python
Follow these steps to convert an OpenDocument presentation to the PowerPoint PPTX format.
Install Aspose.Slides for Python via Java .
Configure the package and start the Java Virtual Machine in your application.
Open the source ODP file with
Presentation.Call
savewithSaveFormat.Pptxto write the PPTX file.
Convert ODP to Other Supported Formats
You can also convert ODP presentations to other supported file formats.