# Convert PPSX to OTP in Python

> Convert PPSX files to OTP presentation templates in Python with Aspose.Slides for Python via Java.

Source: https://products.aspose.com/slides/python-java/conversion/ppsx-to-otp/
Updated: 2026-07-22



## Convert PPSX to OTP in Python

[Aspose.Slides for Python via Java](/slides/python-java/) can convert a PowerPoint Slide Show (`.ppsx`) to an OpenDocument Presentation Template (`.otp`) without Microsoft PowerPoint or LibreOffice. The OTP output can serve as a reusable starting point for presentations in applications that support the OpenDocument format.

Load the source file with `Presentation`, then call `save` with `SaveFormat.Otp`. Aspose.Slides writes the supported slide content, layouts, and formatting to the template file.

## How to Convert PPSX to OTP in Python

Create a `Presentation` from the source PPSX file and save it with `SaveFormat.Otp`.

### Python code for converting PPSX to OTP

```python
presentation = Presentation("presentation.ppsx")
try:
    presentation.save("presentation.otp", SaveFormat.Otp)
finally:
    presentation.dispose()
```

## Steps to Convert PPSX to OTP in Python

The conversion loads the PowerPoint slide show and writes its content to an OpenDocument presentation template.

Install [Aspose.Slides for Python via Java](/slides/python-java/).

Configure JPype and make the Aspose.Slides package available to your Python project.

Create a `Presentation` from the source `.ppsx` file.

Call `save` with `SaveFormat.Otp` and an `.otp` output path.

## Convert PPSX to Other Supported Formats

- [PPSX TO PPTX](/slides/python-java/conversion/ppsx-to-pptx/)
- [PPSX TO PPT](/slides/python-java/conversion/ppsx-to-ppt/)
- [PPSX TO PDF](/slides/python-java/conversion/ppsx-to-pdf/)
- [PPSX TO HTML](/slides/python-java/conversion/ppsx-to-html/)
- [PPSX TO PNG](/slides/python-java/conversion/ppsx-to-png/)
- [PPSX TO BMP](/slides/python-java/conversion/ppsx-to-bmp/)
- [PPSX TO JPG](/slides/python-java/conversion/ppsx-to-jpg/)
- [PPSX TO FODP](/slides/python-java/conversion/ppsx-to-fodp/)
- [PPSX TO GIF](/slides/python-java/conversion/ppsx-to-gif/)
- [PPSX TO ODP](/slides/python-java/conversion/ppsx-to-odp/)
- [PPSX TO POT](/slides/python-java/conversion/ppsx-to-pot/)
- [PPSX TO POTM](/slides/python-java/conversion/ppsx-to-potm/)
- [PPSX TO POTX](/slides/python-java/conversion/ppsx-to-potx/)
- [PPSX TO PPS](/slides/python-java/conversion/ppsx-to-pps/)
- [PPSX TO PPSM](/slides/python-java/conversion/ppsx-to-ppsm/)
- [PPSX TO PPTM](/slides/python-java/conversion/ppsx-to-pptm/)
- [PPSX TO SVG](/slides/python-java/conversion/ppsx-to-svg/)
- [PPSX TO TIFF](/slides/python-java/conversion/ppsx-to-tiff/)
