what's the most elegant way to check to files for equality in Python? Checksum? Bytes comparing? Think files wont' be larger than 100-200 MB
What about filecmp
module? It can do file comparison in many different ways with different tradeoffs.
And even better, it is part of the standard library:
http://docs.python.org/library/filecmp.html
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With