Convert PPSM Slide Shows to PPT in Python

Save a macro-enabled PowerPoint slide show in the legacy PPT format with Aspose.Slides for Python via Java.

Convert PPSM to PPT in Python

Aspose.Slides for Python via Java can load a macro-enabled PowerPoint PPSM slide show and save it in the PowerPoint 97–2003 PPT format. PPT is a legacy binary presentation format supported by Microsoft PowerPoint and other compatible applications. The conversion does not require Microsoft PowerPoint.

Convert PPSM to PPT using Python

Create a Presentation from the PPSM file and call save with SaveFormat.Ppt to create the PPT file.

Python code for converting PPSM to PPT

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

How to convert PPSM to PPT in Python

Follow these steps to convert a macro-enabled PowerPoint slide show to a legacy PPT file.

  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 PPSM file with Presentation.

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