Convert POTX Files to POT in Python

Save a PowerPoint Open XML template in the legacy POT format with Aspose.Slides for Python via Java.

Convert POTX to POT in Python

Aspose.Slides for Python via Java can load a PowerPoint Open XML template (POTX) and save it as a legacy PowerPoint 97-2003 template (POT). Features that the older binary format does not support may be changed during conversion. Microsoft PowerPoint is not required.

Convert POTX to POT using Python

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

Python code for converting POTX to POT

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

How to convert POTX to POT in Python

Follow these steps to save a POTX file as a legacy POT 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 POTX file with Presentation.

  4. Call save with SaveFormat.Pot to create the POT template.