Convert ODP Presentations to PPT in Python
Save an ODP presentation in the legacy PowerPoint PPT format with Aspose.Slides for Python via Java.
Convert ODP to PPT in Python
Aspose.Slides for Python via Java can load an ODP presentation and save it in the binary PPT format used by PowerPoint 97-2003. The conversion does not require Microsoft PowerPoint, LibreOffice, or OpenOffice.
Convert ODP to PPT using Python
Create a Presentation from the ODP file and call save with SaveFormat.Ppt to create the PPT file.
Python code for converting ODP to PPT
presentation = Presentation("presentation.odp")
try:
presentation.save("presentation.ppt", SaveFormat.Ppt)
finally:
presentation.dispose()
How to convert ODP to PPT in Python
Follow these steps to convert an OpenDocument presentation to the legacy PowerPoint PPT 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.Pptto write the PPT file.
Convert ODP to Other Supported Formats
You can also convert ODP presentations to other supported file formats.