Convert PPSX Slide Shows to PPTM in Python
Save a PowerPoint slide show as a macro-enabled PPTM presentation with Aspose.Slides for Python via Java.
Convert PPSX to PPTM in Python
Aspose.Slides for Python via Java
can load a macro-free PowerPoint Slide Show (.ppsx) and save it as a macro-enabled PowerPoint presentation (.pptm). Choosing PPTM as the output format does not add VBA macros when the source slide show has none. Microsoft PowerPoint is not required.
Convert PPSX to PPTM using Python
Create a Presentation from the PPSX file, then call save with SaveFormat.Pptm.
Python code for converting PPSX to PPTM
presentation = Presentation("presentation.ppsx")
try:
presentation.save("presentation.pptm", SaveFormat.Pptm)
finally:
presentation.dispose()
How to convert PPSX to PPTM in Python
Follow these steps to convert a PowerPoint slide show to a 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 PPSX file with
Presentation.Call
savewithSaveFormat.Pptmto create the PPTM presentation.
Convert PPSX to Other Supported Formats
You can also convert PPSX slide shows to other supported file formats.