How to compare files

Lad python at hope.cz
Fri Jul 1 05:39:21 EDT 2005


Hi,
What is the best method for comparing two files by words?
I was thinking about reading files by words and compare them but a word
in one file can be linked with a new line character ( \n)
and this '\n' will cause that the words will considered to be
different( eventhough without '\n' are the same)

Thanks for help.
LAd.




More information about the Python-list mailing list