On Tue, Jul 22, 2008 at 4:27 PM, Clay Hobbs <[EMAIL PROTECTED]> wrote:

> 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
>
> --
> http://mail.python.org/mailman/listinfo/python-list
>

I'd start with file sizes.

If that's not enough you might look at the md5 library and check the md5
values for the files.

-- 
Stand Fast,
tjg. [Timothy Grant]
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to