Convert PPT to OTP in Python
Save a legacy PowerPoint presentation as an OpenDocument Presentation Template with Aspose.Slides for Python via Java.
Convert PPT to OTP in Python
Aspose.Slides for Python via Java
can load a legacy PowerPoint presentation (.ppt) and save it as an OpenDocument Presentation Template (.otp) without Microsoft PowerPoint. The resulting file can be used in applications that support the OpenDocument template format.
Load the source file with Presentation, then call save with SaveFormat.Otp.
Convert PPT to OTP using Python
Create a Presentation from the source PPT file, then call save with SaveFormat.Otp.
Python code for converting PPT to OTP
presentation = Presentation("presentation.ppt")
try:
presentation.save("presentation.otp", SaveFormat.Otp)
finally:
presentation.dispose()
How to convert PPT to OTP in Python
Follow these steps to save a PowerPoint PPT presentation as an OpenDocument Presentation Template.
Install Aspose.Slides for Python via Java .
Configure the package and start the Java Virtual Machine in your application.
Open the source PPT file with
Presentation.Call
savewithSaveFormat.Otpand an.otpoutput path.
Convert PPT to Other Supported Formats
You can also convert PPT presentations to other supported file formats.