Merge PPSX Files and Save as PPS in Python

Combine PowerPoint Open XML slide shows and save the merged slides as a PPS slide show with a cross-platform Python API

Merge PPSX to PPS in Python

Aspose.Slides for Python via .NET lets you merge PowerPoint Open XML Slide Show (PPSX) files by cloning slides from one presentation into another. After combining the slides with SlideCollection.add_clone, call Presentation.save with SaveFormat.PPS to write the merged presentation as a PowerPoint 97-2003 slide show.

Merge PPSX files to PPS using Python

Open the destination and source PPSX presentations, append a clone of each source slide, and save the merged presentation as a single PPS file.

Python code for merging PPSX files into a single PPS slide show

with slides.Presentation("destination.ppsx") as destination_presentation:
    with slides.Presentation("source.ppsx") as source_presentation:
        for slide in source_presentation.slides:
            destination_presentation.slides.add_clone(slide)

    destination_presentation.save("merged-presentation.pps", slides.export.SaveFormat.PPS)

How to merge PPSX files and save as PPS with Aspose.Slides for Python

Follow these steps to merge two PPSX files and save the result as a single PPS slide show.

  1. Install Aspose.Slides for Python via .NET by following the installation guide .

  2. Make the aspose.slides namespace available in your Python project.

  3. Open the destination and source PPSX files as Presentation instances.

  4. Iterate through the source slides and call SlideCollection.add_clone for each slide.

  5. Call Presentation.save with SaveFormat.PPS to write the merged presentation as a single PPS file.