Convert FODP Presentations to OTP in Python

Save an FODP presentation as a reusable OpenDocument presentation template with Aspose.Slides for Python via Java.

Convert FODP to OTP in Python

Aspose.Slides for Python via Java can load an FODP presentation and save it as an OTP file. The OTP output is an OpenDocument presentation template that can be used as the basis for new presentations. The conversion does not require Microsoft PowerPoint, LibreOffice, or OpenOffice.

Convert FODP to OTP using Python

Create a Presentation from the FODP file and call save with SaveFormat.Otp to create the OTP presentation template.

Python code for converting FODP to OTP

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

How to convert FODP to OTP in Python

Follow these steps to save an FODP presentation as a reusable OTP presentation template.

  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 FODP file with Presentation.

  4. Call save with SaveFormat.Otp to write the OTP presentation template.