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 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.
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()
How to convert POTM to POT in Python
Follow these steps to save a POTM file as a legacy POT template.
Install Aspose.Slides for Python via Java .
Configure the package and start the Java Virtual Machine in your application.
Open the source POTM file with
Presentation.Call
savewithSaveFormat.Potto create the POT template.
Convert POTM to Other Supported Formats
You can also convert POTM files to other supported file formats.