Convert PPSX Files to ODP in Python

Transform a PowerPoint slide show into an editable OpenDocument presentation.

Convert PPSX to ODP in Python

Aspose.Slides for Python via Java can convert a PowerPoint Slide Show (.ppsx) to an OpenDocument Presentation (.odp) without Microsoft PowerPoint or LibreOffice. The resulting ODP file is editable in applications that support the OpenDocument format.

Load the source file with Presentation, then call save with SaveFormat.Odp. Aspose.Slides converts supported slide content, layouts, and formatting to the destination format.

How to Convert PPSX to ODP in Python

Create a Presentation from the source PPSX file and save it with SaveFormat.Odp.

Python code for converting PPSX to ODP

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

Steps to Convert PPSX to ODP in Python

The conversion loads the PowerPoint slide show and writes its slides to an OpenDocument presentation.

  1. Install Aspose.Slides for Python via Java .

  2. Configure JPype and make the Aspose.Slides package available to your Python project.

  3. Create a Presentation from the source .ppsx file.

  4. Call save with SaveFormat.Odp and an .odp output path.