Convert PPSX to PPT in Python

Save an Open XML PowerPoint slide show in the PowerPoint 97-2003 Presentation format.

Convert PPSX to PPT in Python

Aspose.Slides for Python via Java can convert a PowerPoint Slide Show (.ppsx) to the PowerPoint 97-2003 Presentation (.ppt) format without Microsoft PowerPoint. The resulting PPT file opens as an editable presentation rather than directly as a slide show.

Load the source file with Presentation, then call save with SaveFormat.Ppt. Because PPT is an older format, features that it does not support cannot be represented in the output.

How to Convert PPSX to PPT in Python

Load the source PPSX file into a Presentation, then save it with SaveFormat.Ppt.

Python code for converting PPSX to PPT

presentation = Presentation("presentation.ppsx")
try:
    presentation.save("presentation.ppt", SaveFormat.Ppt)
finally:
    presentation.dispose()

Steps to Convert PPSX to PPT in Python

The conversion loads the Open XML PowerPoint slide show and writes its content in the legacy PPT presentation format.

  1. Install Aspose.Slides for Python via Java .

  2. Configure JPype and make the Aspose.Slides package available to your Python project.

  3. Create a Presentation from the source .ppsx file.

  4. Call save with SaveFormat.Ppt and a .ppt output path.