Convert POTX to FODP in Python

Save a POTX presentation template in the flat XML-based FODP format with Aspose.Slides for Python via Java.

Convert POTX to FODP in Python

Aspose.Slides for Python via Java can load a PowerPoint Open XML template (POTX) and save it as an FODP file. FODP stores an OpenDocument presentation as a single flat XML document, which can simplify inspection, version control, and automated processing.

Convert POTX to FODP using Python

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

Python code for converting POTX to FODP

presentation = Presentation("presentation.potx")
try:
    presentation.save("presentation.fodp", SaveFormat.Fodp)
finally:
    presentation.dispose()

How to convert POTX to FODP in Python

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

  4. Call save with SaveFormat.Fodp to create the FODP file.