[Tutor] Diff for Python

W W srilyk at gmail.com
Sat Apr 5 13:09:29 CEST 2008


Vim also has a similar command

On Sat, Apr 5, 2008 at 12:59 AM, Terry Carroll <carroll at tjc.com> wrote:
> 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
>
>
>
>  _______________________________________________
>  Tutor maillist  -  Tutor at python.org
>  http://mail.python.org/mailman/listinfo/tutor
>



-- 
To be considered stupid and to be told so is more painful than being
called gluttonous, mendacious, violent, lascivious, lazy, cowardly:
every weakness, every vice, has found its defenders, its rhetoric, its
ennoblement and exaltation, but stupidity hasn't. - Primo Levi


More information about the Tutor mailing list