Convert PPT to POT in Python

Save a legacy PowerPoint presentation as a PowerPoint 97–2003 Design Template with Aspose.Slides for Python via Java.

Convert PPT to POT in Python

Aspose.Slides for Python via Java can load a legacy PowerPoint presentation (.ppt) and save it as a PowerPoint 97–2003 Design Template (.pot) without Microsoft PowerPoint. The conversion retains supported slide content, layouts, and formatting in the target binary format.

Load the source file with Presentation, then call save with SaveFormat.Pot.

Convert PPT to POT using Python

Create a Presentation from the source PPT file, then call save with SaveFormat.Pot.

Python code for converting PPT to POT

presentation = Presentation("presentation.ppt")
try:
    presentation.save("presentation.pot", SaveFormat.Pot)
finally:
    presentation.dispose()

How to convert PPT to POT in Python

Follow these steps to save a PowerPoint PPT presentation as a PowerPoint 97–2003 Design Template.

  1. Install Aspose.Slides for Python via Java .

  2. Configure the package and start the Java Virtual Machine in your application.

  3. Open the source PPT file with Presentation.

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