def _checkSeekable(self, msg=None):
        if not self.seekable():
            raise IOError("File or stream is not seekable."
                          if msg is None else msg)
Internal: raise an IOError if file is not seekable
dataset/ETHPy150Open azoft-dev-team/imagrium/env/Lib/_pyio.py/IOBase._checkSeekable