Unix diff command under Window.

Neil Hodgson nyamatongwe+thunder at gmail.com
Wed Aug 24 20:26:36 EDT 2005


Thomas Heller:

> Yes.  There's a script in your Python distribution:
> Tools/scripts/diff.py
> 
> See also the docs for the 'difflib' standard library module.

    Is the opposite code, a Python equivalent to 'patch' available? I 
have endless trouble receiving patch files that assume one of Windows or 
Unix (in terms of path names and line end characters) which then fail to 
apply on the other platform. I would like to have a version I could hack on.

    Neil



More information about the Python-list mailing list