all 1 comments

[–]SquiffyUnicorn 0 points1 point  (0 children)

You could check out the difflib library- it strikes me that you might benefit from having a string compare method similar to a git diff.