Convert PPS to POTM in Python
Save a PowerPoint Show in the macro-enabled Open XML POTM format.
Convert PPS to POTM in Python
Aspose.Slides for Python via Java
can load a PowerPoint Show (.pps) file and save it in the macro-enabled POTM format without Microsoft PowerPoint. POTM is an Open XML format that can store VBA macros.
The library retains the presentation content and layout while changing the file format. Load the source file with Presentation, then call save with SaveFormat.Potm.
How to Convert PPS to POTM in Python
Load the source PPS file into a Presentation, then save it with SaveFormat.Potm.
Python tutorial for converting PPS into POTM
presentation = Presentation("presentation.pps")
try:
presentation.save("presentation.potm", SaveFormat.Potm)
finally:
presentation.dispose()
Steps to Convert PPS to POTM in Python
The conversion loads the PowerPoint Show and writes its content in the macro-enabled POTM 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.ppsfile.Call
savewithSaveFormat.Potmand a.potmoutput path.
Convert PPS to Other Supported Formats
You can also convert PPS files to the formats listed below.