Convert PPS to POTX in Python

Save a PowerPoint Show in the macro-free Open XML POTX format.

Convert PPS to POTX in Python

Aspose.Slides for Python via Java can load a PowerPoint Show (.pps) file and save it in the macro-free POTX format without Microsoft PowerPoint. POTX uses the Open XML file structure and cannot store VBA macros.

The library retains the presentation content and layout while changing the file format. Load the source file with Presentation, then call save with SaveFormat.Potx.

How to Convert PPS to POTX in Python

Load the source PPS file into a Presentation, then save it with SaveFormat.Potx.

Python tutorial for converting PPS into POTX

presentation = Presentation("presentation.pps")
try:
    presentation.save("presentation.potx", SaveFormat.Potx)
finally:
    presentation.dispose()

Steps to Convert PPS to POTX in Python

The conversion loads the PowerPoint Show and writes its content in the macro-free POTX format.

  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 .pps file.

  4. Call save with SaveFormat.Potx and a .potx output path.