Why no len(file) in Python?
<p>I'm not exactly new to Python, but I do still have trouble understanding what makes something "Pythonic" (and the converse).</p>

<p>So forgive me if this is a stupid question, but why can't I get the size of a file by doing a len(file)?</p>

<p>file.<code>__len__</code> is not even implemented, so it's not like it's needed for something else?  Would it be confusing/inconsistent for some reason if it was implemented to return the file size?</p>
