Convert POTX Templates to ODP in Python

Export a PowerPoint Open XML template as an OpenDocument Presentation with Aspose.Slides for Python via Java.

Convert POTX to ODP in Python

Aspose.Slides for Python via Java can load a PowerPoint Open XML template (POTX) 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 POTX to ODP using Python

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

Python code for converting POTX to ODP

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

How to convert POTX to ODP in Python

Follow these steps to export a PowerPoint Open XML template 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 POTX file with Presentation.

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