Convert ODP Presentations to POT in Python

Save an ODP presentation in the PowerPoint 97-2003 POT format with Aspose.Slides for Python via Java.

Convert ODP to POT in Python

Aspose.Slides for Python via Java can load an ODP presentation 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 ODP to POT using Python

Create a Presentation from the ODP file and call save with SaveFormat.Pot to create the POT file.

Python code for converting ODP to POT

presentation = Presentation("presentation.odp")
try:
    presentation.save("presentation.pot", SaveFormat.Pot)
finally:
    presentation.dispose()

How to convert ODP to POT in Python

Follow these steps to convert an ODP presentation to the PowerPoint 97-2003 POT format.

  1. Install Aspose.Slides for Python via Java .

  2. Configure the package and start the Java Virtual Machine in your application.

  3. Open the source ODP file with Presentation.

  4. Call save with SaveFormat.Pot to write the POT file.