code: def seek(self, offset, whence=0):
          '''
          Simple seek. Follows standard interface.
          '''
          if whence == 0:
              self._pos = self._start_pos + offset
          elif whence == 1:
              self._pos += offset
          else:
              self._pos = (self._end_pos - 1) + offsef seek(self, offset, whence=0):
          '''
          Simple seek. Follows standard interface.
          '''
          if whence == 0:
              self._pos = self._start_pos + offset
          elif whence == 1:
              self._pos += offset
          else:
              self._pos = (self._end_pos - 1) + offset
docs: Simple seek. Follows standard interface.