# Convert PPSX to OTP in Python

> Convert PPSX slide shows to OTP presentation templates in Python. Use the Aspose.Slides Python API to convert PPSX files to OTP in batch.

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



## Convert PPSX to OTP in Python

[*Aspose.Slides for Python via .NET*](/slides/python-net/) lets you convert a PowerPoint Open XML Slide Show in PPSX format to an OpenDocument Presentation Template in OTP format. Load the PPSX file into a `Presentation` instance and save it by using `SaveFormat.OTP`.

The API preserves presentation content and formatting during conversion and does not require Microsoft PowerPoint. Test the conversion in the free [online app](https://products.aspose.app/slides/conversion) or integrate the Python API into 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 PPSX to OTP in Python

These are the steps to convert a PPSX file to OTP using Python.

Load the PPSX file into a `Presentation` instance.

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

The converted OTP 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.

### Convert PPSX to OTP in Python

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

## Save PPSX as OTP in Python

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

## Other Supported Conversions

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