# Compare files content

**URL:** <https://forum.robotframework.org/t/compare-files-content/963>\
**Category:** Libraries\
**Created:** [13 November 2020 17:10 UTC](https://forum.robotframework.org/t/compare-files-content/963 "2020-11-13T17:10:57Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![mac7](https://dub1.discourse-cdn.com/flex005/user_avatar/forum.robotframework.org/mac7/32/492_2.png) [@mac7](https://forum.robotframework.org/u/mac7)\
**Post date:** [13 November 2020 17:10 UTC](https://forum.robotframework.org/t/compare-files-content/963/1 "2020-11-13T17:10:58Z")

</div>

Is there any library to compare the contents of two Excel files?

---

<div class="post-metadata">

**Author:** ![mdhiman](https://avatars.discourse-cdn.com/v4/letter/m/97f17d/32.png) [@mdhiman](https://forum.robotframework.org/u/mdhiman)\
**Post date:** [14 November 2020 15:36 UTC](https://forum.robotframework.org/t/compare-files-content/963/2 "2020-11-14T15:36:42Z")

</div>

Hi. You can use python difflib for this.

> **[difflib — Helpers for computing deltas — Python 3.9.0 documentation](https://docs.python.org/3/library/difflib.html)**

---

<div class="post-metadata">

**Author:** ![mac7](https://dub1.discourse-cdn.com/flex005/user_avatar/forum.robotframework.org/mac7/32/492_2.png) [@mac7](https://forum.robotframework.org/u/mac7)\
**Post date:** [18 November 2020 14:28 UTC](https://forum.robotframework.org/t/compare-files-content/963/3 "2020-11-18T14:28:06Z")

</div>

Good solution to this issue. Thanks!  
But I decided to use Pandas library in this case.
