Convert PPS to PPSM in Python

Save a binary PowerPoint Show in the macro-enabled Open XML PPSM format.

Convert PPS to PPSM in Python

Aspose.Slides for Python via Java can convert a binary PowerPoint Show (.pps) file to the macro-enabled Open XML PPSM format without Microsoft PowerPoint. PPSM remains a slide show format and can store VBA macros.

The library retains the presentation content and layout while changing the file format. Load the source file with Presentation, then call save with SaveFormat.Ppsm.

How to Convert PPS to PPSM in Python

Load the source PPS file into a Presentation, then save it with SaveFormat.Ppsm.

Python tutorial for converting PPS into PPSM

presentation = Presentation("presentation.pps")
try:
    presentation.save("presentation.ppsm", SaveFormat.Ppsm)
finally:
    presentation.dispose()

Steps to Convert PPS to PPSM in Python

The conversion loads the binary PowerPoint Show and writes its content in the macro-enabled PPSM 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 .pps file.

  4. Call save with SaveFormat.Ppsm and a .ppsm output path.