snowflake.snowpark.files.SnowflakeFile.seek¶
- SnowflakeFile.seek(offset: int, whence: int = 0) int [source]¶
See https://docs.python.org/3/library/io.html#io.IOBase.seek
Move the stream position to a new location given an offset and a starting position. SEEK_SET/0 indicates a position relative to the start of the file. SEEK_CUR/1 indicates a position relative to the current stream position. SEEK_END/2 indicates a position relative to the end of the file. Only supported in read mode.
Returns the new stream position. Not supported in write mode.