Convert PPSM Files to ODP in Python
Transform a macro-enabled PowerPoint slide show into an editable OpenDocument presentation.
Convert PPSM to ODP in Python
Aspose.Slides for Python via Java
can convert a macro-enabled PowerPoint slide show (.ppsm) to an OpenDocument Presentation (.odp) without Microsoft PowerPoint or LibreOffice. The resulting ODP file remains editable in applications that support the OpenDocument format. Because ODP does not support VBA projects, macros are not retained.
Load the source file with Presentation, then call save with SaveFormat.Odp. Aspose.Slides converts supported slide content, layout, and formatting to the destination format.
How to Convert PPSM to ODP in Python
Create a Presentation from the source PPSM file and save it with SaveFormat.Odp.
Python code for converting PPSM to ODP
presentation = Presentation("presentation.ppsm")
try:
presentation.save("presentation.odp", SaveFormat.Odp)
finally:
presentation.dispose()
Steps to Convert PPSM to ODP in Python
The conversion loads the macro-enabled PowerPoint slide show and writes its slides to an OpenDocument presentation.
Install Aspose.Slides for Python via Java .
Configure JPype and make the Aspose.Slides package available to your Python project.
Create a
Presentationfrom the source.ppsmfile.Call
savewithSaveFormat.Odpand an.odpoutput path.
Convert PPSM to Other Supported Formats
You can also convert PPSM presentations to other supported file formats.