Convert PPTM Files to PPSM in Python
Save a macro-enabled PPTM presentation as a macro-enabled PowerPoint slide show with Aspose.Slides for Python via Java.
Convert PPTM to PPSM in Python
Aspose.Slides for Python via Java can load a macro-enabled PPTM presentation 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 normally opens directly in Slide Show view. Microsoft PowerPoint is not required.
Convert PPTM to PPSM using Python
Create a Presentation from the PPTM file, then call save with SaveFormat.Ppsm.
Python code for converting PPTM to PPSM
presentation = Presentation("presentation.pptm")
try:
presentation.save("presentation.ppsm", SaveFormat.Ppsm)
finally:
presentation.dispose()
How to convert PPTM to PPSM in Python
Follow these steps to save a PPTM presentation 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 PPTM file with
Presentation.Call
savewithSaveFormat.Ppsmto create the PPSM slide show.
Convert PPTM to Other Supported Formats
You can also convert PPTM presentations to other supported file formats.