Convert PPSM to POT in Python
Save a macro-enabled PowerPoint slide show in the binary PowerPoint 97-2003 POT format.
Convert PPSM to POT in Python
Aspose.Slides for Python via Java
can load a macro-enabled PowerPoint slide show (.ppsm) and save it as a binary PowerPoint 97-2003 POT file without Microsoft PowerPoint. POT is a legacy presentation format that can contain VBA projects.
The conversion changes the file format while retaining presentation content such as slides, layouts, themes, and supported multimedia. Load the source file with Presentation, then call save with SaveFormat.Pot.
How to Convert PPSM to POT in Python
Load the source PPSM file into a Presentation, then save it with SaveFormat.Pot.
Python code for converting PPSM to POT
presentation = Presentation("presentation.ppsm")
try:
presentation.save("presentation.pot", SaveFormat.Pot)
finally:
presentation.dispose()
Steps to Convert PPSM to POT in Python
The conversion loads the macro-enabled PowerPoint slide show and writes its content in the binary PowerPoint 97-2003 POT format.
Install Aspose.Slides for Python via Java .
Configure JPype and make the Aspose.Slides package available to your Python project.
Create a
Presentationfrom the source.ppsmfile.Call
savewithSaveFormat.Potand a.potoutput path.
Convert PPSM to Other Supported Formats
You can also convert PPSM presentations to other supported file formats.