Convert OTP Templates to PPT in Python
Save an OTP presentation template in the legacy PowerPoint PPT format with Aspose.Slides for Python via Java.
Convert OTP to PPT in Python
Aspose.Slides for Python via Java can load an OpenDocument Presentation Template (OTP) and save it in the PowerPoint 97-2003 PPT format. PPT is a legacy binary presentation format supported by Microsoft PowerPoint and other compatible applications. The conversion does not require Microsoft PowerPoint, LibreOffice, or OpenOffice.
Convert OTP to PPT using Python
Create a Presentation from the OTP file and call save with SaveFormat.Ppt to create the PPT file.
Python code for converting OTP to PPT
presentation = Presentation("presentation.otp")
try:
presentation.save("presentation.ppt", SaveFormat.Ppt)
finally:
presentation.dispose()
How to convert OTP to PPT in Python
Follow these steps to convert an OpenDocument presentation template to a legacy PowerPoint PPT file.
Install Aspose.Slides for Python via Java .
Configure the package and start the Java Virtual Machine in your application.
Open the source OTP file with
Presentation.Call
savewithSaveFormat.Pptto write the PPT file.
Convert OTP to Other Supported Formats
You can also convert OTP templates to other supported file formats.