Convert PPTX Presentations to OTP in Python
Save a PowerPoint presentation as a reusable OpenDocument presentation template with Aspose.Slides for Python via Java.
Convert PPTX to OTP in Python
Aspose.Slides for Python via Java can load a PPTX presentation and save it as an OTP file. The OTP output is an OpenDocument presentation template that can be reused as the basis for new presentations. The conversion does not require Microsoft PowerPoint, LibreOffice, or OpenOffice.
Convert PPTX to OTP using Python
Create a Presentation from the PPTX file and call save with SaveFormat.Otp to generate the OTP presentation template.
Python code for converting PPTX to OTP
presentation = Presentation("presentation.pptx")
try:
presentation.save("presentation.otp", SaveFormat.Otp)
finally:
presentation.dispose()
How to convert PPTX to OTP in Python
Follow these steps to save a PPTX 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 PPTX file with
Presentation.Call
savewithSaveFormat.Otpto write the OTP presentation template.
Convert PPTX to Other Supported Formats
You can also convert PPTX presentations to other supported file formats.