Convert PPTX to FODP in Python

Export PowerPoint presentations to Flat OpenDocument Presentation format with Aspose.Slides for Python via Java.

Convert PPTX to FODP in Python

Aspose.Slides for Python via Java can load a PowerPoint presentation (.pptx) and save it as a Flat OpenDocument Presentation (.fodp). FODP stores an OpenDocument presentation as a single uncompressed XML file, which is useful for source control and XML-based processing. Microsoft PowerPoint is not required.

Convert PPTX to FODP using Python

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

Python code for converting PPTX to FODP

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

How to convert PPTX to FODP in Python

Follow these steps to export a PPTX file as a Flat 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 PPTX file with Presentation.

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