# Convert PPSM to HTML in Python

> Convert PPSM slide shows to HTML in Python. Use the Aspose.Slides Python API to publish presentations as self-contained HTML documents.

Source: https://products.aspose.com/slides/python-net/conversion/ppsm-to-html/
Updated: 2026-08-11



## Convert PPSM to HTML in Python

Convert PPSM slide shows to HTML programmatically with [*Aspose.Slides for Python via .NET*](/slides/python-net/). A few lines of Python code are enough to load a macro-enabled PowerPoint Slide Show and publish it as a self-contained HTML document.

Aspose.Slides converts PPSM files to HTML without Microsoft PowerPoint. Try the conversion in the free [online app](https://products.aspose.app/slides/conversion), or integrate the API into a batch-processing workflow.

Install the library from [PyPI](https://pypi.org/project/aspose-slides/) by using the following command:

### Console/Terminal

```console
pip install aspose-slides
```

## How to Convert PPSM to HTML in Python

These are the steps to convert a PPSM file to HTML using Python.

Load the PPSM file into a `Presentation` instance.

Call `Presentation.save` with the output file path and `SaveFormat.HTML`.

The converted HTML document is written to the specified output path.

## System Requirements

Before running the Python conversion sample, make sure your environment meets these requirements.

- Microsoft Windows, macOS, or 64-bit Linux (see the [system requirements](https://docs.aspose.com/slides/python-net/system-requirements/)).
- Python 3.5 or later.
- Aspose.Slides for Python via .NET installed in your environment.

### This sample code shows how to convert PPSM to HTML in Python

```python
with slides.Presentation("presentation.ppsm") as presentation:
    presentation.save("presentation.html", slides.export.SaveFormat.HTML)
```

## Save PPSM as HTML in Python

Use the free [online conversion app](https://products.aspose.app/slides/conversion) to see the PPSM-to-HTML conversion process in action.

## Other Supported Conversions

- [PPSM TO BMP](/slides/python-net/conversion/ppsm-to-bmp/) — Bitmap Image
- [PPSM TO EMF](/slides/python-net/conversion/ppsm-to-emf/) — Enhanced Metafile Format
- [PPSM TO FODP](/slides/python-net/conversion/ppsm-to-fodp/) — OpenDocument Flat XML Presentation
- [PPSM TO GIF](/slides/python-net/conversion/ppsm-to-gif/) — Graphics Interchange Format
- [PPSM TO JPG](/slides/python-net/conversion/ppsm-to-jpg/) — JPEG Image
- [PPSM TO ODP](/slides/python-net/conversion/ppsm-to-odp/) — OpenDocument Presentation Format
- [PPSM TO OTP](/slides/python-net/conversion/ppsm-to-otp/) — OpenDocument Presentation Template
- [PPSM TO PDF](/slides/python-net/conversion/ppsm-to-pdf/) — Portable Document Format
- [PPSM TO PNG](/slides/python-net/conversion/ppsm-to-png/) — Portable Network Graphics
- [PPSM TO POT](/slides/python-net/conversion/ppsm-to-pot/) — PowerPoint 97-2003 Template
- [PPSM TO POTM](/slides/python-net/conversion/ppsm-to-potm/) — PowerPoint Macro-Enabled Template
- [PPSM TO POTX](/slides/python-net/conversion/ppsm-to-potx/) — PowerPoint Open XML Template
- [PPSM TO PPS](/slides/python-net/conversion/ppsm-to-pps/) — PowerPoint 97-2003 Slide Show
- [PPSM TO PPSX](/slides/python-net/conversion/ppsm-to-ppsx/) — PowerPoint Open XML Slide Show
- [PPSM TO PPT](/slides/python-net/conversion/ppsm-to-ppt/) — PowerPoint 97-2003 Presentation
- [PPSM TO PPTM](/slides/python-net/conversion/ppsm-to-pptm/) — PowerPoint Macro-Enabled Presentation
- [PPSM TO PPTX](/slides/python-net/conversion/ppsm-to-pptx/) — PowerPoint Open XML Presentation
- [PPSM TO SVG](/slides/python-net/conversion/ppsm-to-svg/) — Scalable Vector Graphics
- [PPSM TO SWF](/slides/python-net/conversion/ppsm-to-swf/) — SWF Format
- [PPSM TO TIFF](/slides/python-net/conversion/ppsm-to-tiff/) — Tagged Image File Format
- [PPSM TO XPS](/slides/python-net/conversion/ppsm-to-xps/) — XML Paper Specification
