# Convert OTP to PPSX in Python

> Convert OTP presentation templates to PPSX files in Python. Use the Aspose.Slides Python API to export templates as PowerPoint Open XML slide shows.

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



## Convert OTP to PPSX in Python

[*Aspose.Slides for Python via .NET*](/slides/python-net/) lets you convert OTP presentation templates to PPSX files programmatically. Load the source file into a `Presentation` instance and export it by using `Presentation.save` with `SaveFormat.PPSX`.

PPSX is a PowerPoint Open XML slide show format that opens directly in slide show mode. 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 OTP to PPSX in Python

Follow these steps to convert an OTP file to PPSX using Python.

Load the OTP file into a `Presentation` instance.

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

The presentation is written to the specified PPSX file.

## 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 OTP to PPSX in Python

```python
with slides.Presentation("presentation.otp") as presentation:
    presentation.save("presentation.ppsx", slides.export.SaveFormat.PPSX)
```

## Save OTP as PPSX in Python

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

## Other Supported Conversions

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