Convert PPTM Files to PPT in Python
Save a macro-enabled PPTM file as a legacy PowerPoint presentation with Aspose.Slides for Python via Java.
Convert PPTM to PPT in Python
Aspose.Slides for Python via Java can load a macro-enabled PPTM presentation and save it as a PPT presentation. PPT is the legacy binary PowerPoint format and is suitable when compatibility with older PowerPoint versions is required. Microsoft PowerPoint is not required.
Convert PPTM to PPT using Python
Create a Presentation from the PPTM file, then call save with SaveFormat.Ppt.
Python code for converting PPTM to PPT
presentation = Presentation("presentation.pptm")
try:
presentation.save("presentation.ppt", SaveFormat.Ppt)
finally:
presentation.dispose()
How to convert PPTM to PPT in Python
Follow these steps to save a PPTM file as a PPT presentation.
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.Pptto create the PPT presentation.
Convert PPTM to Other Supported Formats
You can also convert PPTM presentations to other supported file formats.