Convert PPSM Files to HTML in Python

Publish a macro-enabled PPSM slide show as an HTML document with Aspose.Slides for Python via Java.

Convert PPSM to HTML in Python

Aspose.Slides for Python via Java can load a macro-enabled PPSM slide show and export its slides and visual content to HTML. The generated document can be opened in a web browser; macros and interactive VBA behavior are not included. Microsoft PowerPoint is not required.

Convert PPSM to HTML using Python

Create a Presentation from the PPSM file and call save with SaveFormat.Html to generate an HTML document.

Python code for converting PPSM to HTML

presentation = Presentation("presentation.ppsm")
try:
    presentation.save("presentation.html", SaveFormat.Html)
finally:
    presentation.dispose()

How to convert PPSM to HTML in Python

Follow these steps to export a PPSM file as an HTML document.

  1. Install Aspose.Slides for Python via Java .

  2. Configure the package and start the Java Virtual Machine in your application.

  3. Open the source PPSM file with Presentation.

  4. Call save with SaveFormat.Html to write the HTML document.