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