Convert PPS to PPTM in Python
Powerful Python library for converting PPS to PPTM
Convert PPS to PPTM in Python
Convert PPS files to PPTM programmatically with Aspose.Slides for Python via .NET . Load the source slide show and save it as a macro-enabled PowerPoint presentation with a few lines of Python code.
Aspose.Slides processes the presentation directly, so Microsoft PowerPoint is not required. You can also evaluate PPS-to-PPTM conversion in your browser or use the API to save PPS files in many other supported formats.
Install the package from PyPI with the following command:
Console/Terminal
pip install aspose-slides
Python example: Convert PPS to PPTM
with slides.Presentation("presentation.pps") as presentation:
presentation.save("presentation.pptm", slides.export.SaveFormat.PPTM)
How to Convert PPS to PPTM in Python
These are the steps to convert a PPS file to PPTM using Python.
Load the source PPS file by creating a
Presentationinstance.Call
Presentation.save, passing the output file path andSaveFormat.PPTM.The converted PPTM file is written to the specified path.
System Requirements
Before running the Python conversion example, make sure your environment meets these requirements.
- Microsoft Windows, macOS, or Linux (see the system requirements ).
- Python 3.5 or later.
- Aspose.Slides for Python via .NET installed in your environment.
Save PPS as PPTM in Python
Try the free Aspose.Slides Conversion app to see PPS-to-PPTM conversion in action.Other Supported Conversions
You can also convert PPS to many other file formats. See other supported conversions below: