Convert POTM Files to POT in Python

Save a macro-enabled PowerPoint template in the legacy POT format with Aspose.Slides for Python via Java.

Convert POTM to POT using Python

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

Python code for converting POTM to POT

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

Convert POTM to POT in Python

Aspose.Slides for Python via Java can load a macro-enabled POTM file and save it as a legacy POT template. The conversion writes the reusable presentation design in the binary PowerPoint template format. Microsoft PowerPoint is not required.

How to convert POTM to POT in Python

Follow these steps to save a POTM 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 POTM file with Presentation.
  4. Call save with SaveFormat.Pot to create the POT template.