if the TS had spent about 4 seconds googling for "
python file compare"
or even better for "
file compare algorithms"
he/she would not have had the need to ask
the search returned
https://docs.python.org/3/library/filecmp.htmland
https://docs.python.org/3/library/diffl ... le-difflibto get the most out of the questions asked
and avoid pissing off the people who spend thir time helping
it would be wise for the TS to read and meditate on
How To Ask Questions The Smart Way http://catb.org/~esr/faqs/smart-questions.htmlor read at
https://cbttape.org or at
https://github.com/mainframed/CBTTAPE the sources of
//*+File 045: PDS Compare program adapted from Yale compare pgm *
//*+File 226: COMPRSEQ - Dave Cole's compare program - orig vers *
//*+FILE 722: FileWiz - File Compare Program from Shirley Huhtanen *
or the sources of
GNU Diffutils, a package of several programs related to finding differences between files.
https://www.gnu.org/software/diffutils/