title: How does Python keep track of where it is in a file when using .readline()
body: <p>Python keeps track of which line has been read using readline, how does it do this.</p>
  
  <pre><code>fin = open('/etc/passwd')
  fin.readline()
  </code></pre>
  
  <p>When I run readline again it reads the second line. </p>