Merge PPT files and save as PPS in Python
Combine PPT presentations and export the result to PPS with Aspose.Slides for Python via .NET. Microsoft PowerPoint and OpenOffice are not required.
Merge PPT to PPS in Python
Aspose.Slides for Python via .NET
lets you merge PPT presentations by cloning slides from a source Presentation into a destination Presentation. The cloned slides retain their layouts, shapes, styles, text, formatting, comments, and animations. Save the destination presentation with SaveFormat.PPS to create a single PPS file.
Merge PPT files to PPS using Python
Clone each source slide with add_clone, then call save with SaveFormat.PPS. If the source and destination presentations use different slide sizes, resize the source presentation before cloning its slides.
Python code to merge PPT files into a PPS file
with slides.Presentation("presentation1.ppt") as destination_presentation:
with slides.Presentation("presentation2.ppt") 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 PPT to PPS using Aspose.Slides for Python API
Follow these steps to merge two PPT files and save the result as a PPS file in Python.
Install Aspose.Slides for Python via .NET .
Make the
aspose.slidesnamespace available in your Python project.Open the destination and source PPT files as
Presentationinstances.Clone each source slide by using
SlideCollection.add_clone.Save the merged presentation by calling
Presentation.savewithSaveFormat.PPS.
Export PPT to Other Supported Formats
You can also merge PPT files and export the result to other supported formats.