# GroupDocs.Comparison for Python via .NET GroupDocs.Comparison for Python via .NET developer documentation. Learn how to diff DOCX, PPTX, XLSX, and PDF files using the Python API. groupdocs-comparison-python-net-home PyPI package PyPI downloads {{< button style="primary" link="https://releases.groupdocs.com/comparison/python-net/release-notes/" >}} Release notes {{< /button >}} {{< button style="primary" link="https://pypi.org/project/groupdocs-comparison-net/" >}} {{< icon "gdoc_download" >}} Download from PyPI {{< /button >}} {{< button style="primary" link="https://products.groupdocs.app/comparison/total" >}} Online app {{< /button >}} **GroupDocs.Comparison for Python via .NET** is a Python version of the GroupDocs.Comparison API. It detects differences between source and target files at paragraph, word, and character levels — including style and formatting changes. The API supports 50+ document types including Microsoft Office, OpenOffice, AutoCAD, Visio, images, source code, PDFs, and more.
## Quick example ```python from groupdocs.comparison import Comparer # Compare two DOCX revisions and write a tracked-changes result with Comparer("source.docx") as comparer: comparer.add("target.docx") comparer.compare("result.docx") ``` ## Key features - **Wide format support**: 50+ document types including DOCX, PDF, XLSX, PPTX, ODT, HTML, images, CAD, and source code. - **Granular change detection**: paragraph, word, and character-level diffs, including style and formatting changes. - **Accept / reject workflows**: review individual detected changes and re-emit the document honouring per-change decisions. - **Multi-source comparison**: diff one source against multiple targets in a single pass, or compare entire folders. ## Supported document formats GroupDocs.Comparison supports a wide range of file formats. For a complete list, see the [full list of supported formats]({{< ref "comparison/python-net/getting-started/supported-document-formats" >}}). - **Microsoft Office** (Word, Excel, PowerPoint, Visio) - **PDF** (Standard PDFs) - **OpenDocument** (ODT, ODS, ODP) - **Images** (JPEG, PNG, BMP, TIFF) - **Text/Markdown** (TXT, MD) - **HTML/Web** (HTML, MHTML) - **AutoCAD** (DWG, DXF) - **Source code** (CS, JAVA, JS, PY, and more) --- {{< columns >}}

About GroupDocs.Comparison


OVERVIEW

TECHNICAL SUPPORT

<--->

Get Started


GUIDE

USEFUL RESOURCES

<--->

Develop Functions


GUIDE

USEFUL RESOURCES

{{< /columns >}}