Convert PPSM Slide Shows to PPTX in Python
Transform a macro-enabled PowerPoint slide show into an editable PPTX presentation with Aspose.Slides for Python via Java.
Convert PPSM to PPTX in Python
Aspose.Slides for Python via Java can load a macro-enabled PowerPoint PPSM slide show and save it as an editable PPTX presentation. Because PPTX is not a macro-enabled format, VBA projects in the source file are not retained in the output. The conversion does not require Microsoft PowerPoint.
Convert PPSM to PPTX using Python
Create a Presentation from the PPSM file and call save with SaveFormat.Pptx to create the PPTX file.
Python code for converting PPSM to PPTX
presentation = Presentation("presentation.ppsm")
try:
presentation.save("presentation.pptx", SaveFormat.Pptx)
finally:
presentation.dispose()
How to convert PPSM to PPTX in Python
Follow these steps to convert a macro-enabled PowerPoint slide show to an editable PPTX presentation.
Install Aspose.Slides for Python via Java .
Configure the package and start the Java Virtual Machine in your application.
Open the source PPSM file with
Presentation.Call
savewithSaveFormat.Pptxto write the PPTX file.
Convert PPSM to Other Supported Formats
You can also convert PPSM presentations to other supported file formats.