Can windows' built-in zip compression be scripted?
Answer / 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 |
What is command key on laptop?
What are the new features in windows 10 1903?
Can you run windows 95 on a modern computer?
Can I install gmail on windows 10?
How do I remove a program from startup in windows 10?
How do I delete windows system files?
What is the maximum ram for windows 7?
Can I turn off cortana?
Is it ok to delete old windows updates?
How do I start windows defender manually?
Where is the windows recycle bin located?
Is cleaning the registry necessary?