How to compare files

dberlin at gmail.com dberlin at gmail.com
Fri Jul 1 12:32:35 CEST 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