Convert PPSX Files to POT in Python
Turn a PowerPoint slide show into a reusable PowerPoint 97-2003 presentation template.
Convert PPSX to POT in Python
Aspose.Slides for Python via Java
can convert a PowerPoint Slide Show (.ppsx) to a PowerPoint 97-2003 Presentation Template (.pot) without Microsoft PowerPoint. The POT output can be used as a reusable starting point in applications that support the legacy binary PowerPoint format.
Load the source file with Presentation, then call save with SaveFormat.Pot. Because POT is an older format, features that it does not support cannot be represented in the output.
How to Convert PPSX to POT in Python
Create a Presentation from the source PPSX file and save it with SaveFormat.Pot.
Python code for converting PPSX to POT
presentation = Presentation("presentation.ppsx")
try:
presentation.save("presentation.pot", SaveFormat.Pot)
finally:
presentation.dispose()
Steps to Convert PPSX to POT in Python
The conversion loads the PowerPoint slide show and writes its content to a legacy PowerPoint presentation template.
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.Potand a.potoutput path.
Convert PPSX to Other Supported Formats
You can also convert PPSX presentations to other supported file formats.