title: python: get size of buffer
body: <p>I'm reading data from local and from remote (urllib2) files in a Python script.</p>
  
  <p>What is the return datatype?</p>
  
  <p>How can I get the size of this data? ("real" size, not the size of representation in Python, in case that differs).</p>