File-like object for reading an archive member, is returned by
TarFile.extractfile(). Support for sparse files included.
|
|
|
|
|
|
|
|
readlines(self)
Return a list with all (following) lines. |
source code
|
|
|
|
_readnormal(self,
size=None)
Read operation for regular files. |
source code
|
|
|
|
_readsparse(self,
size=None)
Read operation for sparse files. |
source code
|
|
|
|
_readsparsesection(self,
size)
Read a single section of a sparse file. |
source code
|
|
|
|
tell(self)
Return the current file position. |
source code
|
|
|
|
seek(self,
pos,
whence=0)
Seek to a position in the file. |
source code
|
|
|
|
|