Package obitools :: Module zipfile :: Class ZipExtFile
[hide private]
[frames] | no frames]

Class ZipExtFile

source code

File-like object for reading an archive member. Is returned by ZipFile.open().

Instance Methods [hide private]
 
__init__(self, fileobj, zipinfo, decrypt=None) source code
 
set_univ_newlines(self, univ_newlines) source code
 
__iter__(self) source code
 
next(self) source code
 
close(self) source code
 
_checkfornewline(self) source code
 
readline(self, size=-1)
Read a line with approx.
source code
 
readlines(self, sizehint=-1)
Return a list with all (following) lines.
source code
 
read(self, size=None) source code
Method Details [hide private]

readline(self, size=-1)

source code 

Read a line with approx. size. If size is negative, read a whole line.

readlines(self, sizehint=-1)

source code 

Return a list with all (following) lines. The sizehint parameter is ignored in this implementation.