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.
Install Aspose.Slides for Python via Java .
Configure JPype and make the Aspose.Slides package available to your Python project.
Create a
Presentationfrom the source.ppsxfile.Call
savewithSaveFormat.Pptand a.pptoutput path.
Convert PPSX to Other Supported Formats
You can also convert PPSX presentations to other supported file formats.