title: How to find out whether a file is at its `eof`?
body: <pre><code>fp = open("a.txt")
  #do many things with fp
  
  c = fp.read()
  if c is None:
      print 'fp is at the eof'
  </code></pre>
  
  <p>Besides the above method, any other way to find out whether is fp is already at the eof?</p>