Convert OTP Templates to PPSX in Python

Save an OTP presentation template as a PowerPoint PPSX slide show with Aspose.Slides for Python via Java.

Convert OTP to PPSX in Python

Aspose.Slides for Python via Java can load an OpenDocument Presentation Template (OTP) and save it as a PowerPoint PPSX slide show. PPSX is the XML-based PowerPoint Show format and is intended to open directly in slide show mode in compatible applications. The conversion does not require Microsoft PowerPoint, LibreOffice, or OpenOffice.

Convert OTP to PPSX using Python

Create a Presentation from the OTP file and call save with SaveFormat.Ppsx to create the PPSX slide show.

Python code for converting OTP to PPSX

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

How to convert OTP to PPSX in Python

Follow these steps to convert an OpenDocument presentation template to a PowerPoint PPSX slide show.

  1. Install Aspose.Slides for Python via Java .

  2. Configure the package and start the Java Virtual Machine in your application.

  3. Open the source OTP file with Presentation.

  4. Call save with SaveFormat.Ppsx to write the PPSX slide show.