Convert PPTM Files to PPTX in Python
Save a macro-enabled PPTM presentation as a macro-free PPTX file with Aspose.Slides for Python via Java.
Convert PPTM to PPTX in Python
Aspose.Slides for Python via Java can load a macro-enabled PPTM presentation and save it as an editable PPTX file. PPTX is a macro-free Open XML format, so VBA macros from the source file are not retained. Microsoft PowerPoint is not required.
Convert PPTM to PPTX using Python
Create a Presentation from the PPTM file, then call save with SaveFormat.Pptx.
Python code for converting PPTM to PPTX
presentation = Presentation("presentation.pptm")
try:
presentation.save("presentation.pptx", SaveFormat.Pptx)
finally:
presentation.dispose()
How to convert PPTM to PPTX in Python
Follow these steps to save a PPTM presentation as a PPTX file.
Install Aspose.Slides for Python via Java .
Configure the package and start the Java Virtual Machine in your application.
Open the source PPTM file with
Presentation.Call
savewithSaveFormat.Pptxto create the PPTX presentation.
Convert PPTM to Other Supported Formats
You can also convert PPTM presentations to other supported file formats.