Convert OTP Presentation Templates to ODP in Python

Save an OTP presentation template as an editable ODP presentation with Aspose.Slides for Python via Java.

Convert OTP to ODP in Python

Aspose.Slides for Python via Java can load an OTP presentation template and save it as an editable ODP presentation. The conversion preserves the presentation content in the OpenDocument presentation format and does not require Microsoft PowerPoint, LibreOffice, or OpenOffice.

Convert OTP to ODP using Python

Create a Presentation from the OTP file and call save with SaveFormat.Odp to generate an ODP presentation.

Python code for converting OTP to ODP

presentation = Presentation("presentation.otp")
try:
    presentation.save("presentation.odp", SaveFormat.Odp)
finally:
    presentation.dispose()

How to convert OTP to ODP in Python

Follow these steps to save an OTP presentation template as an ODP presentation.

  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.Odp to write the ODP presentation.