In Python, why do we need readlines() when we can iterate over the file handle itself?
<p>In Python, after</p>

<pre><code>fh = open('file.txt')
</code></pre>

<p>one may do the following to iterate over lines:</p>

<pre><code>for l in fh:
    pass
</code></pre>

<p>Then why do we have <code>fh.readlines()</code>?</p>
