def seek(self, offset, whence=SEEK_SET):
if whence == SEEK_SET:<EOL><INDENT>self.__sf.seek(offset)<EOL><DEDENT>elif whence == SEEK_CUR:<EOL><INDENT>self.__sf.seek(self.tell() + offset)<EOL><DEDENT>elif whence == SEEK_END:<EOL><INDENT>self.__sf.seek(self.__sf.filesize - offset)<EOL><DEDENT>
Reposition the file pointer.