# Load File from Local Disk Load source and target documents for comparison from the local file system, using absolute or relative paths with GroupDocs.Comparison for Python via .NET. When source and target files are on the local disk, pass their paths directly to `Comparer` and `add()`. Both absolute and relative paths work. ## Example: Load files from local disk {{< tabs "load-from-disk">}} {{< tab "load_file_from_local_disk.py" >}} ```python from groupdocs.comparison import Comparer def load_file_from_local_disk(): with Comparer("./source.docx") as comparer: comparer.add("./target.docx") comparer.compare("./result.docx") print("Documents compared successfully. Check output in result.docx.") if __name__ == "__main__": load_file_from_local_disk() ``` {{< /tab >}} {{< tab "source.docx" >}} {{< tab-text >}} `source.docx` is the source file used in this example. Click [here](https://docs.groupdocs.com/comparison/python-net/_sample_files/developer-guide/loading-documents/load-file-from-local-disk/source.docx) to download it. {{< /tab-text >}} {{< /tab >}} {{< tab "target.docx" >}} {{< tab-text >}} `target.docx` is the target file used in this example. Click [here](https://docs.groupdocs.com/comparison/python-net/_sample_files/developer-guide/loading-documents/load-file-from-local-disk/target.docx) to download it. {{< /tab-text >}} {{< /tab >}} {{< tab "result.docx" >}} ```text Binary file (DOCX, 25 KB) ``` [Download full output](https://docs.groupdocs.com/comparison/python-net/_output_files/developer-guide/loading-documents/load-file-from-local-disk/load_file_from_local_disk/result.docx) {{< /tab >}} {{< /tabs >}}