A package that can diff single lines
Project description
This is a package that allows you to easily diff a single line. The following are some examples (note that in this example underscores are used instead of bullets due to not rendering properly on Pypi):
>>> print(diff("This is totally just my opinion.", "This is simply my opinion.")) This is totally just my opinion. This is simp_ly_____ my opinion. ^^^^^ ^^^^^
>>> print(diff("I called but no one answered.", "I tried calling, but no one answered.")) I______ called__ but no one answered. I tried calling, but no one answered. ^^^^^^ ^^^^
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
single_line_diff-0.2.2.tar.gz
(3.4 kB
view hashes)