Convert PPSM Slide Shows to PPTM in Python
Save a macro-enabled PowerPoint slide show as an editable macro-enabled presentation with Aspose.Slides for Python via Java.
Convert PPSM to PPTM using Python
Create a Presentation from the PPSM file and call save with SaveFormat.Pptm to create the PPTM file.
Python code for converting PPSM to PPTM
presentation = Presentation("presentation.ppsm")
try:
presentation.save("presentation.pptm", SaveFormat.Pptm)
finally:
presentation.dispose()Convert PPSM to PPTM in Python
Aspose.Slides for Python via Java can load a macro-enabled PowerPoint PPSM slide show and save it in the editable PPTM presentation format. Both PPSM and PPTM support VBA projects, so the output remains macro-enabled. The conversion does not require Microsoft PowerPoint.
How to convert PPSM to PPTM in Python
Follow these steps to convert a macro-enabled PowerPoint slide show to an editable macro-enabled PPTM presentation.
- Install Aspose.Slides for Python via Java.
- Configure the package and start the Java Virtual Machine in your application.
- Open the source PPSM file with
Presentation. - Call
savewithSaveFormat.Pptmto write the PPTM file.
Convert PPSM to Other Supported Formats
You can also convert PPSM presentations to other supported file formats.