title: see if two files have the same content in python
body: <blockquote>
    <p><strong>Possible Duplicates:</strong><br>
    <a href="https://stackoverflow.com/questions/748675/finding-duplicate-files-and-removing-them">Finding duplicate files and removing them.</a><br>
    <a href="https://stackoverflow.com/questions/254350/in-python-is-there-a-concise-way-of-comparing-whether-the-contents-of-two-text-f">In Python, is there a concise way of comparing whether the contents of two text files are the same?</a>  </p>
  </blockquote>
  
  <p>What is the easiest way to see if two files are the same content-wise in Python.</p>
  
  <p>One thing I can do is md5 each file and compare.  Is there a better way?</p>