IPWorks ZIP 2020 Python Edition

Questions / Feedback?

extract Method

Extracts the compressed file from the archive.


def extract() -> None: ...


Invoking on_extract decompresses the archive specified by archive_file. The compressed file will be extracted, and written to disk.

If file_decompressed_name is set to a nonempty string the file will be written there. Otherwise the class will automatically set file_decompressed_name to an appropriate value:

If file_decompressed_name is empty and archive_file ends in ".Z", this filename, less the ".Z" extension will be used. Otherwise the extension ".uncompressed" will be appended to the file name.

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