title: Python readline - reads only first line
body: <pre><code>#1
  input_file = 'my-textfile.txt'
  current_file = open(input_file)
  print current_file.readline()
  print current_file.readline()
  
  #2
  input_file = 'my-textfile.txt'
  print open(input_file).readline()
  print open(input_file).readline()
  </code></pre>
  
  <p>Why is it that #1 works fine and displays the first and second line, but #2 prints 2 copies of the first line and doesn't print the same as #1 ?</p>