# Convert PPSM to PDF in Python

> Convert PPSM slide shows to PDF documents in Python. Use the Aspose.Slides Python API to export presentations to fixed-layout PDF files.

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



## Convert PPSM to PDF in Python

[*Aspose.Slides for Python via .NET*](/slides/python-net/) lets you convert PPSM slide shows to PDF documents programmatically. Load the source file into a `Presentation` instance and export it by using `Presentation.save` with `SaveFormat.PDF`.

PDF provides fixed-layout output that is convenient for sharing, printing, and archiving slide shows. You can test the conversion in your [browser](https://products.aspose.app/slides/conversion) or use the Python API in your application.

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 PDF in Python

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

Load the PPSM file into a `Presentation` instance.

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

The converted PDF file 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 PDF in Python

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

## Save PPSM as PDF in Python

Use the free [online conversion app](https://products.aspose.app/slides/conversion) to see the PPSM-to-PDF 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 HTML](/slides/python-net/conversion/ppsm-to-html/) — Hypertext Markup Language
- [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 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
