[Tutor] Diff for Python

Terry Carroll carroll at tjc.com
Sat Apr 5 07:59:42 CEST 2008


On Fri, 4 Apr 2008, Wayne Watson wrote:

> Is there a Linux diff-like command for Python code? I'd like to see the 
> difference between two py files.

You could just use diff.

Python itself also has difflib:

http://python.org/doc/2.5/lib/module-difflib.html



More information about the Tutor mailing list