Question: When using the write ( ) method of a ZipFile object, what is the purpose of the compress _ type parameter? Question 2 6 options:
When using the write method of a ZipFile object, what is the purpose of the compresstype parameter?
Question options:
To decide the directory structure inside the ZIP file.
To determine the compression algorithm used, such as zipfile.ZIPDEFLATED.
To set the password for encrypting the ZIP file.
To specify the file format to be added to the ZIP file.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
