title: UnsupportedOperation: can't do nonzero cur-relative seeks : Python
body: <p>Below is my code, I am using :</p>
  
  <pre><code>with open(r'C:\Users\Manish\Desktop\File5.txt', 'r') as f:
       fo = f.read(20)
       print(fo)
       f.seek(20,1)
       fo = f.read(20)
       print(fo)
  </code></pre>
  
  <p>But instead of getting next lines from current position, it repeatedly showing me error. Where is the problem in my code ?</p>