Create a new compressor object. This object may be used to compress
data sequentially. If you want to compress data in one shot, use the
compress() function instead. The compresslevel parameter, if given, must
be a number between 1 and 9.
|
|
|
|
compressor object
|
__init__(compresslevel=9)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature |
|
|
a new object with type S, a subtype of T
|
|
|
__setattr__(...)
x.__setattr__('name', value) <==> x.name = value |
|
|
string
|
compress(data)
Provide more data to the compressor object. |
|
|
string
|
flush()
Finish the compression process and return what is left in internal
buffers. |
|
|
Inherited from object :
__hash__ ,
__reduce__ ,
__reduce_ex__ ,
__repr__ ,
__str__
|