Convert POTM Files to POTX in Python
Save a macro-enabled PowerPoint template as a macro-free POTX template with Aspose.Slides for Python via Java.
Convert POTM to POTX in Python
Aspose.Slides for Python via Java can load a macro-enabled POTM file and save it as a POTX template. The output retains the reusable presentation design in the Open XML template format; VBA macros are not retained. Microsoft PowerPoint is not required.
Convert POTM to POTX using Python
Create a Presentation from the POTM file, then call save with SaveFormat.Potx.
Python code for converting POTM to POTX
presentation = Presentation("presentation.potm")
try:
presentation.save("presentation.potx", SaveFormat.Potx)
finally:
presentation.dispose()
How to convert POTM to POTX in Python
Follow these steps to save a POTM file as a POTX 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.Potxto create the POTX template.
Convert POTM to Other Supported Formats
You can also convert POTM files to other supported file formats.