IPWorks ZIP 2020 Python Edition

Questions / Feedback?

compression_method Property

Used to set the method of compression.

Syntax

def get_compression_method() -> int: ...
def set_compression_method(value: int) -> None: ...

compression_method = property(get_compression_method, set_compression_method)

Default Value

0

Remarks

This is used to specify different compression methods. By default the class uses the LZMA compression method (a value of 0). Supported values are:

ValueMethod
cmszLzma (0 - default) LZMA
cmszBzip2 (1) BZip2
cmszDelta (2) Delta
cmszCopy (3) Copy (no compression)
cmszDeflate (4) Deflate
cmszLzma2 (5) LZMA2

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks ZIP 2020 Python Edition - Version 20.0 [Build 8300]