Convert PPS to PPSM in Python

Powerful Python library for converting PPS to PPSM

Convert PPS to PPSM in Python

Convert PPS files to PPSM programmatically with Aspose.Slides for Python via .NET . Load the source presentation and save it as a macro-enabled PowerPoint slide show with a few lines of Python code.

Aspose.Slides processes the presentation directly, so Microsoft PowerPoint is not required. You can also evaluate PPS-to-PPSM conversion in your browser or use the API to save PPS files in many other supported formats.

Install the package from PyPI with the following command:

Console/Terminal

pip install aspose-slides

Save PPS as PPSM in Python

Try the free Aspose.Slides Conversion app to see PPS-to-PPSM conversion in action.

Python example: Convert PPS to PPSM

with slides.Presentation("presentation.pps") as presentation:
    presentation.save("presentation.ppsm", slides.export.SaveFormat.PPSM)

How to Convert PPS to PPSM in Python

These are the steps to convert a PPS file to PPSM using Python.

  1. Load the source PPS file by creating a Presentation instance.
  2. Call Presentation.save, passing the output file path and SaveFormat.PPSM.
  3. The converted PPSM file is written to the specified path.

System Requirements

Before running the Python conversion example, make sure your environment meets these requirements.

  • Microsoft Windows, macOS, or Linux (see the system requirements ).
  • Python 3.5 or later.
  • Aspose.Slides for Python via .NET installed in your environment.