Convert OTP Templates to PPTX in Python
Transform an OTP presentation template into an editable PPTX file with Aspose.Slides for Python via Java.
Convert OTP to PPTX in Python
Aspose.Slides for Python via Java can load an OpenDocument Presentation Template (OTP) and save it as an editable PPTX file while preserving its slides and content. The conversion does not require Microsoft PowerPoint, LibreOffice, or OpenOffice.
Convert OTP to PPTX using Python
Create a Presentation from the OTP file and call save with SaveFormat.Pptx to create the PPTX file.
Python code for converting OTP to PPTX
presentation = Presentation("presentation.otp")
try:
presentation.save("presentation.pptx", SaveFormat.Pptx)
finally:
presentation.dispose()
How to convert OTP to PPTX in Python
Follow these steps to convert an OpenDocument presentation template to PPTX format.
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.Pptxto write the PPTX file.
Convert OTP to Other Supported Formats
You can also convert OTP templates to other supported file formats.