IPWorks ZIP 2020 Python Edition

Questions / Feedback?

seven_zip_data Property

(Decompression only) The seven zip file contents as a byte array.

Syntax

def set_seven_zip_data(value: bytes) -> None: ...

seven_zip_data = property(None, set_seven_zip_data)

Default Value

""

Remarks

Normally you should set archive_file before invoking scan or extract. If you prefer to read the zip file from memory you may set zip_data instead. zip_data should be set to the entire contents of the zip file; this will allow you to read from the archive without writing any temporary files to disk.

If you would like to extract data from the archive without ever writing to disk you should also set WriteToProgressEvent to true, and after invoking scan, you should set the value of file_decompressed_name for each file in the files collection to an empty string. Then, when you invoke extract (or extract_all) the data will be provided in the on_progress event.

This property is write-only. Note that modifying a zip file stored in zip_data is not supported, so append, delete, etc., will throw exceptions.

This property is write-only.

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