Convert PPT to PPSX in Python

Save a legacy PowerPoint presentation as an Open XML PPSX slide show with Aspose.Slides for Python via Java.

Convert PPT to PPSX in Python

Aspose.Slides for Python via Java can load a legacy PowerPoint presentation (.ppt) and save it as an Open XML PowerPoint slide show (.ppsx) without Microsoft PowerPoint. A PPSX file opens directly in slide show mode in compatible presentation applications.

Load the source file with Presentation, then call save with SaveFormat.Ppsx.

Convert PPT to PPSX using Python

Create a Presentation from the source PPT file, then call save with SaveFormat.Ppsx.

Python code for converting PPT to PPSX

presentation = Presentation("presentation.ppt")
try:
    presentation.save("presentation.ppsx", SaveFormat.Ppsx)
finally:
    presentation.dispose()

How to convert PPT to PPSX in Python

Follow these steps to save a PowerPoint PPT presentation as an Open XML PPSX slide show.

  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 PPT file with Presentation.

  4. Call save with SaveFormat.Ppsx and a .ppsx output path.