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.

  1. Install Aspose.Slides for Python via Java .

  2. Configure the package and start the Java Virtual Machine in your application.

  3. Open the source ODP file with Presentation.

  4. Call save with SaveFormat.Ppt to write the PPT file.