Convert POTM Files to PPT in Python
Save a macro-enabled POTM file as a legacy PowerPoint presentation with Aspose.Slides for Python via Java.
Convert POTM to PPT in Python
Aspose.Slides for Python via Java can load a macro-enabled POTM file 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. To preserve VBA macros, save the file as PPTM instead. Microsoft PowerPoint is not required.
Convert POTM to PPT using Python
Create a Presentation from the POTM file, then call save with SaveFormat.Ppt.
Python code for converting POTM to PPT
presentation = Presentation("presentation.potm")
try:
presentation.save("presentation.ppt", SaveFormat.Ppt)
finally:
presentation.dispose()
How to convert POTM to PPT in Python
Follow these steps to save a POTM 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 POTM file with
Presentation.Call
savewithSaveFormat.Pptto create the PPT presentation.
Convert POTM to Other Supported Formats
You can also convert POTM files to other supported file formats.