[Tutor] Word-by-word diff in Python

Alexandre Ratti alex@gabuzomeu.net
Fri, 19 Apr 2002 00:19:59 +0200


Hello,


I'm looking for a word-by-word diff module / class in Python. I came across 
this Perl script; this is basically what I mean:

Main page: http://mike-labs.com/wd2h/
Perl script: http://mike-labs.com/wd2h/wd2h.html
Example output: http://mike-labs.com/wd2h/diff.htm

I found a diff2html utility (written in Python, 
http://diff2html.tuxfamily.org/), but it's line-based and it uses the diff 
utility. I rather use a pure-python, 2.0 compatible solution if possible:

Any idea?


Thanks.

Alexandre