Exploring Python's [Difflib module](https://docs.python.org/3.4/library/difflib.html).