PyDocs

Nav

Data Compression and Archiving

LZMACompressor.compress

  • LZMACompressor.compress(data)
Provide data to the compressor object.

Returns a chunk of compressed data if possible, or b'' otherwise.

When you have finished providing data to the compressor, call the
flush() method to finish the compression process.
0 Examples
No examples for lzma/LZMACompressor.compress.
See Also
No see-alsos for lzma/LZMACompressor.compress
0 Notes
No notes for LZMACompressor.compress