Convert PPSX to POTX in Python
Save a PowerPoint slide show as a reusable Open XML presentation template.
Convert PPSX to POTX in Python
Aspose.Slides for Python via Java
can load a PowerPoint Slide Show (.ppsx) and save it as a PowerPoint Open XML Presentation Template (.potx) without Microsoft PowerPoint. POTX files are designed to provide reusable themes, layouts, and formatting and do not store VBA macros.
The conversion retains presentation content such as slides, layouts, themes, and supported multimedia. Load the source file with Presentation, then call save with SaveFormat.Potx.
How to Convert PPSX to POTX in Python
Load the source PPSX file into a Presentation, then save it with SaveFormat.Potx.
Python code for converting PPSX to POTX
presentation = Presentation("presentation.ppsx")
try:
presentation.save("presentation.potx", SaveFormat.Potx)
finally:
presentation.dispose()
Steps to Convert PPSX to POTX in Python
The conversion loads the PowerPoint slide show and writes its content in the Open XML POTX template format.
Install Aspose.Slides for Python via Java .
Configure JPype and make the Aspose.Slides package available to your Python project.
Create a
Presentationfrom the source.ppsxfile.Call
savewithSaveFormat.Potxand a.potxoutput path.
Convert PPSX to Other Supported Formats
You can also convert PPSX presentations to other supported file formats.