Pymmapfile.seek

seek(dist, how)

Changes current position

Parameters

dist : int

Distance to seek

how=0 : int

Pos from which to seek

how meaning
0Seek from start of buffer
1Seek from current position
2Seek backwards from end of buffer