Convert POT Templates to PPSM in Python

Create a macro-enabled PowerPoint slide show from a POT file with Aspose.Slides for Python via Java.

Convert POT to PPSM in Python

Aspose.Slides for Python via Java can load a binary PowerPoint 97–2003 template (POT) and save it as a macro-enabled PowerPoint slide show (PPSM). PPSM is an Open XML format that can store VBA macros and is intended to open directly in slide show mode in compatible applications. Microsoft PowerPoint is not required.

Convert POT to PPSM using Python

Create a Presentation from the POT file, then call save with SaveFormat.Ppsm.

Python code for converting POT to PPSM

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

How to convert POT to PPSM in Python

Follow these steps to convert a POT template to a macro-enabled PowerPoint 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 POT file with Presentation.

  4. Call save with SaveFormat.Ppsm to create the PPSM slide show.