How do I compare files?

Clay Hobbs clay at
Wed Jul 23 01:27:27 CEST 2008

I am making a program that (with urllib) that downloads two jpeg files
and, if they are different, displays the new one.  I need to find a way
to compare two files in Python.  How is this done?

-- Ratfink

More information about the Python-list mailing list