GroupDocs.Merger for Python via .NET lets you combine multiple documents of the same family into a single output file with just a few lines of Python code. All content — text, images, tables, graphs, forms, and embedded objects — is faithfully preserved in the result.
The library handles the complexities of each file format internally, so you do not need to understand proprietary format internals or rely on any third-party desktop software. The API is identical regardless of format: load the base document with Merger, call join once for every additional file, then call save.
Note
Try online
You can try merging files online and download the results for free using GroupDocs.Merger Live Demo.
Steps to merge documents
Install the package: pip install groupdocs-merger-net.
Import Merger from groupdocs.merger.
Open the first (base) document with Merger("./input.<ext>") inside a with block.
Call merger.join("./input2.<ext>") for each additional document to append.
Call merger.save("./output.<ext>") to write the combined result.