[Tutor] How to use diff.py?
Dick Moores
rdm at rcblue.com
Sun Jan 28 17:23:00 CET 2007
At 04:54 AM 1/27/2007, Kent Johnson wrote:
>Dick Moores wrote:
>>At 12:16 PM 1/26/2007, you wrote:
>>>I've found diff.py in Python25\Tools\Scripts. But I don't see how
>>>to use it to find the differences between 2 files, say file1.txt
>>>and file2.txt. I was hoping it would work like unix's diff, but
>>>could someone explain?
>>Here's one way: http://tinyurl.com/2lsleq
>
>Did that answer your question?
Yes. I found I like the -m option.
>You can run diff.py from the command line, e.g.
>py c:/python25/tools/scripts/diff.py -c FindE3Audio.py FindE3NoAudio.py
or py c:/python25/tools/scripts/diff.py -m FindE3Audio.py
FindE3NoAudio.py > Audio.htm
Thanks, Kent.
Dick
More information about the Tutor
mailing list