title: Find free disk space in python on OS/X
body: <p>I'm looking for the number of free bytes on my HD, but have trouble doing so on python.</p>
  
  <p>I've tried the following:</p>
  
  <pre><code>import os
  
  stat = os.statvfs(path)
  print stat.f_bsize * stat.f_bavail
  </code></pre>
  
  <p>But, on OS/X it gives me a 17529020874752 bytes, which is about about 1.6 TB, which would be very nice, but unfortunately not really true.</p>
  
  <p>What's the best way to get to this figure?</p>