binary file compare...

SpreadTooThin bjobrien62 at gmail.com
Mon Apr 13 16:03:05 EDT 2009


On Apr 13, 2:00 pm, Przemyslaw Kaminski <cge... at gmail.com> wrote:
> SpreadTooThin wrote:
> > I want to compare two binary files and see if they are the same.
> > I see the filecmp.cmp function but I don't get a warm fuzzy feeling
> > that it is doing a byte by byte comparison of two files to see if they
> > are they same.
>
> > What should I be using if not filecmp.cmp?
>
> Well, here's somethinghttp://www.daniweb.com/forums/thread115959.html
> but it seems from the post on the bottom that filecmp does comparison of
> binary files.

I just want to be clear, the comparison is not just based on file size
and creation date but by a byte by byte comparison of the data in each
file.



More information about the Python-list mailing list