IPWorks ZIP 2020 Python Edition

Questions / Feedback?

compression_method Property

The compression method to use.

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 property specifies the compression method to use. By default the class uses the Deflate compression method (a value of 0). Supported values are:

  • 0 (cmDeflate - default)
  • 1 (cmPPMd)
  • 2 (cmBzip2)

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