Convert ODP to FODP in Python

Save an ODP presentation in the flat XML-based FODP format with Aspose.Slides for Python via Java.

Convert ODP to FODP in Python

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

Convert ODP to FODP using Python

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

Python code for converting ODP to FODP

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

How to convert ODP to FODP in Python

Follow these steps to convert an ODP presentation 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 ODP file with Presentation.

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