# Merge PPS Files to HTML with Python

> Merge multiple PPS presentations and export the combined slides to an HTML5 file in Python.

Source: https://products.aspose.com/slides/python-net/merge/pps-to-html/
Updated: 2026-07-28



## Merge PPS to HTML in Python

[**Aspose.Slides for Python via .NET**](/slides/python-net/) lets you combine multiple PPS presentations by cloning slides from one presentation into another. The `SlideCollection.add_clone` method preserves the content and formatting of each cloned slide, including shapes, text, styles, comments, and animations. After merging the slides, you can export the destination `Presentation` to an HTML5 file.

## Merge PPS files to HTML using Python

Load one PPS file as the destination presentation, clone the slides from the other PPS file into it, and save the merged result in HTML5 format.

### Python code to merge PPS files and export to HTML

```python
with slides.Presentation("presentation1.pps") as destination_presentation:
    with slides.Presentation("presentation2.pps") as source_presentation:
        for slide in source_presentation.slides:
            destination_presentation.slides.add_clone(slide)

    destination_presentation.save("merged_presentation.html", slides.export.SaveFormat.HTML5)
```

## How to merge PPS files and export to HTML with Aspose.Slides for Python

Follow these steps to merge two PPS files and export the result to HTML in Python.

Install [**Aspose.Slides for Python via .NET**](/slides/python-net/) with `pip install aspose-slides`.

Load the first PPS file into a destination `Presentation` instance.

Load the second PPS file into a source `Presentation` instance.

Iterate through the source `Presentation.slides` collection and call [`SlideCollection.add_clone`](https://reference.aspose.com/slides/python-net/aspose.slides/islidecollection/add_clone/) for each `Slide`.

Call `Presentation.save` with `SaveFormat.HTML5` to export the merged presentation to an HTML file.

## Export PPS to Other Supported Formats
