Convert POTM Files to PPS in Python

Save a macro-enabled POTM file as a legacy PowerPoint slide show with Aspose.Slides for Python via Java.

Convert POTM to PPS in Python

Aspose.Slides for Python via Java can load a macro-enabled POTM file and save it as a PPS slide show. PPS is the legacy binary PowerPoint Show format and opens directly in Slide Show view. To preserve VBA macros, save the file as PPSM instead. Microsoft PowerPoint is not required.

Convert POTM to PPS using Python

Create a Presentation from the POTM file, then call save with SaveFormat.Pps.

Python code for converting POTM to PPS

presentation = Presentation("presentation.potm")
try:
    presentation.save("presentation.pps", SaveFormat.Pps)
finally:
    presentation.dispose()

How to convert POTM to PPS in Python

Follow these steps to save a POTM file as a PPS slide show.

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

  4. Call save with SaveFormat.Pps to create the PPS slide show.