How to compare files

dberlin at gmail.com dberlin at gmail.com
Fri Jul 1 06:32:35 EDT 2005


you could always just remove those special characters (\n \t ..),
remove spaces, read both files and compare string. I don't this is the
best way of doing this... but maybe a combination of this way and yours
will be efficient enough - remove all problematic characters and then
compare line by line.

good luck...




More information about the Python-list mailing list