Convert POT Files to ODP in Python

Export a PowerPoint template in POT format as an OpenDocument Presentation with Aspose.Slides for Python via Java.

Convert POT to ODP in Python

Aspose.Slides for Python via Java can load a POT file and export it as an OpenDocument Presentation (ODP). The conversion preserves the presentation content in an open format and does not require Microsoft PowerPoint, LibreOffice, or OpenOffice.

Convert POT to ODP using Python

Create a Presentation from the POT file, then call save with SaveFormat.Odp.

Python code for converting POT to ODP

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

How to convert POT to ODP in Python

Follow these steps to export a POT file as an OpenDocument Presentation.

  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 POT file with Presentation.

  4. Call save with SaveFormat.Odp to create the ODP file.