Re: How do I compare files?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • norseman

    Re: How do I compare files?


    Timothy Grant wrote:
    On Tue, Jul 22, 2008 at 4:27 PM, Clay Hobbs <clay@lakeserv. netwrote:
    >
    >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.
    >
    >
    >
    ------------------------------------------------------------------------
    >
    --
    http://mail.python.org/mailman/listinfo/python-list
    =============== =============== =====
    If you are on a Unix platform:
    man cmp
    man identify
    man display (ImageMagick)
    gimp
    If you use mc (MidnightComman der) the F3 key can help.
    Jef Poskanzer's package has tools too.

    If you are on a Microsoft platform:
    you needs lots money. :)
    CorelDraw is available for under $100.00 American


    Steve
    norseman@hughes .net

Working...