title: Null Character in Text Files in Python
body: <pre><code>&gt;&gt;&gt; file = open('foo.txt')
  &gt;&gt;&gt; file.seek(2)  
  2  
  &gt;&gt;&gt; file.read(1)  
  '\n'  
  &gt;&gt;&gt; file.tell()  
  4  
  </code></pre>
  
  <p>why didn't the current position move 1 character forward? Isn't <code>'\n'</code> supposed to be 1 character?  </p>
  
  <p>Content of the first 4 lines of the file:  </p>
  
  <blockquote>
    <p>1@<br>
    2@<br>
    3@<br>
    @</p>
  </blockquote>
  
  <p>PS : I'm on windows.</p>