Convert PPTX to PPSX in Python

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

Convert PPTX to PPSX in Python

Aspose.Slides for Python via Java can load a PowerPoint presentation (PPTX) and save it as a macro-free Open XML slide show (PPSX). The converted file retains the presentation content and opens directly in slide show mode in compatible applications. Microsoft PowerPoint is not required.

Convert PPTX to PPSX using Python

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

Python code for converting PPTX to PPSX

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

How to convert PPTX to PPSX in Python

Follow these steps to convert a PowerPoint presentation to the PPSX slide show 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 PPTX file with Presentation.

  4. Call save with SaveFormat.Ppsx to create the PPSX slide show.