Bases: _io.FileIO
A class that allows you reading only a chunk of a file.
-
read
(n=-1)[source]
Read and return at most n bytes.
-
readall
()[source]
Read all data from the chunk.
-
readinto
(b)[source]
Same as RawIOBase.readinto().
-
seek
(offset, whence=0)[source]
Move to a new chunk position.
-
tell
()[source]
Current file position.