seek method

seek

Sets the position within the current stream

Returns

The new position within the current stream int

def seek(self, offset, origin):
    ...
ParameterTypeDescription
offsetintA byte offset relative to the origin parameter int
originSystem.IO.SeekOriginA value of type System.IO.SeekOrigin indicating the reference point used to obtain the new position

See Also