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.

  1. Install Aspose.Slides for Python via Java .

  2. Configure JPype and make the Aspose.Slides package available to your Python project.

  3. Create a Presentation from the source .ppsx file.

  4. Call save with SaveFormat.Pot and a .pot output path.