Convert OTP Templates to POT in Python
Save an OpenDocument presentation template in the PowerPoint 97-2003 POT format with Aspose.Slides for Python via Java.
Convert OTP to POT in Python
Aspose.Slides for Python via Java can load an OTP presentation template and save it in the binary POT format used by PowerPoint 97-2003 presentation templates. The conversion does not require Microsoft PowerPoint, LibreOffice, or OpenOffice.
Convert OTP to POT using Python
Create a Presentation from the OTP file and call save with SaveFormat.Pot to create the POT file.
Python code for converting OTP to POT
presentation = Presentation("presentation.otp")
try:
presentation.save("presentation.pot", SaveFormat.Pot)
finally:
presentation.dispose()
How to convert OTP to POT in Python
Follow these steps to convert an OpenDocument presentation template to the PowerPoint 97-2003 POT 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.Potto write the POT file.
Convert OTP to Other Supported Formats
You can also convert OTP templates to other supported file formats.