title: Complexity of f.seek() in Python
body: <p>Does <code>f.seek(500000,0)</code> go through all the first 499999 characters of the file before getting to the 500000th?
  In other words, is <code>f.seek(n,0)</code> of order O(n) or O(1)?</p>