Move the read/write position within the file
None.
The position is clamped to the file: a negative value seeks to the start, and anything past the end seeks to the end.
import "file" fh = file.open("data.txt", "r") print fh.readLine fh.seek 0 // back to the beginning print fh.readLine // the same line again fh.close
There was an error while loading. Please reload this page.