Convert POTM Files to PPSM in Python
Save a macro-enabled POTM file as a macro-enabled PowerPoint slide show with Aspose.Slides for Python via Java.
Convert POTM to PPSM in Python
Aspose.Slides for Python via Java can load a macro-enabled POTM file and save it as a PPSM slide show. PPSM is the Open XML macro-enabled PowerPoint Show format, so the output can retain supported VBA macros and open directly in Slide Show view. Microsoft PowerPoint is not required.
Convert POTM to PPSM using Python
Create a Presentation from the POTM file, then call save with SaveFormat.Ppsm.
Python code for converting POTM to PPSM
presentation = Presentation("presentation.potm")
try:
presentation.save("presentation.ppsm", SaveFormat.Ppsm)
finally:
presentation.dispose()
How to convert POTM to PPSM in Python
Follow these steps to save a POTM file as a PPSM slide show.
Install Aspose.Slides for Python via Java .
Configure the package and start the Java Virtual Machine in your application.
Open the source POTM file with
Presentation.Call
savewithSaveFormat.Ppsmto create the PPSM slide show.
Convert POTM to Other Supported Formats
You can also convert POTM files to other supported file formats.