Convert POT Files to FODP in Python

Export a POT file as a Flat OpenDocument Presentation with Aspose.Slides for Python via Java.

Convert POT to FODP in Python

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

Convert POT to FODP using Python

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

Python code for converting POT to FODP

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

How to convert POT to FODP in Python

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

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