adspace


Can windows' built-in zip compression be scripted?

Answer Posted / Akhtar Israr Ahmad

Yes, you can use the `zipfile` module in Python to work with Windows built-in zip compression programmatically.nHere's an example for compressing files:n``pythonnimport zipfilennwith zipfile.ZipFile('archive.zip', 'w', zipfile.ZIP_DEFLATED) as zf:n zf.write('<path-to-directory>', '<path-to-save-archive>')

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What does it cost to upgrade to windows 10?

927


How do I add a google account to windows 10?

913


What is the next version of windows after 10?

987


How much does a windows 10 license cost?

935


What is the next windows after 10?

955


How does registry work wedding?

890


What is the latest windows operating system?

1058


What is the latest version of microsoft edge for windows 10?

905


When will the next windows os come out?

896


How much does it cost for a copy of windows 10?

872


What is the current version of windows 10?

950


How much does a copy of windows 10 cost?

895