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.
Install Aspose.Slides for Python via Java .
Configure the package and start the Java Virtual Machine in your application.
Open the source POT file with
Presentation.Call
savewithSaveFormat.Ppsmto create the PPSM slide show.
Convert POT to Other Supported Formats
You can also convert POT files to other supported file formats.