Convert PPS to OTP in Python

Turn a PowerPoint Show into a reusable OpenDocument presentation template.

Convert PPS to OTP in Python

Aspose.Slides for Python via Java can convert a PowerPoint Show (.pps) file to an OpenDocument Presentation Template (.otp) file. This output is useful when the original slide design and layout should serve as the starting point for new OpenDocument presentations.

Open the PPS file with Presentation and call save with SaveFormat.Otp. The API performs the conversion without requiring Microsoft PowerPoint or LibreOffice.

How to Convert PPS to OTP in Python

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

Python tutorial for converting PPS into OTP

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

Steps to Convert PPS to OTP in Python

The conversion loads the PowerPoint Show and saves its design and content in the OTP format.

  1. Install Aspose.Slides for Python via Java .

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

  3. Create a Presentation from the source .pps file.

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