Convert ODP Presentations to OTP in Python
Save an ODP presentation as a reusable OpenDocument presentation template with Aspose.Slides for Python via Java.
Convert ODP to OTP in Python
Aspose.Slides for Python via Java can load an ODP 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 ODP to OTP using Python
Create a Presentation from the ODP file and call save with SaveFormat.Otp to create the OTP presentation template.
Python code for converting ODP to OTP
presentation = Presentation("presentation.odp")
try:
presentation.save("presentation.otp", SaveFormat.Otp)
finally:
presentation.dispose()
How to convert ODP to OTP in Python
Follow these steps to save an ODP presentation as a reusable OTP presentation template.
Install Aspose.Slides for Python via Java .
Configure the package and start the Java Virtual Machine in your application.
Open the source ODP file with
Presentation.Call
savewithSaveFormat.Otpto write the OTP presentation template.
Convert ODP to Other Supported Formats
You can also convert ODP presentations to other supported file formats.