Why the second time I run "readlines" in Python in the same file nothing is returned?
<pre><code>&gt;&gt;&gt; f = open('/tmp/version.txt', 'r')
&gt;&gt;&gt; f
&lt;open file '/tmp/version.txt', mode 'r' at 0xb788e2e0&gt;
&gt;&gt;&gt; f.readlines()
['2.3.4\n']
&gt;&gt;&gt; f.readlines()
[]
&gt;&gt;&gt;
</code></pre>

<p>I've tried this in Python's interpreter. Why does this happen?</p>
