title: Get MD5 hash of big files in Python
body: <p>I have used hashlib (which replaces md5 in Python 2.6/3.0) and it worked fine if I opened a file and put its content in <a href="https://docs.python.org/2/library/hashlib.html" rel="noreferrer"><code>hashlib.md5()</code></a> function.</p>
  
  <p>The problem is with very big files that their sizes could exceed RAM size.</p>
  
  <p>How to get the MD5 hash of a file without loading the whole file to memory?</p>