def slew(self, value):
        '''move to a given position in the file'''
        if float(value) != self.filepos:
            pos = float(value) * self.filesize
            self.mlog.f.seek(int(pos))
            self.find_message()
def slew ( self , value ) : if float ( value ) != self . filepos : pos = float ( value ) * self . filesize self . mlog . f . seek ( int ( pos ) ) self . find_message ( )
move to a given position in the file