Manipulating ZIP Files With Python
Python’s zipfile
is a standard-library module intended to manipulate ZIP files. This file format is a widely adopted industry standard when it comes to archiving and compressing digital data. You can use it to package together several related files. It also allows you to reduce the size of your files and save disk space. Most importantly, it facilitates data exchange over computer networks.
Knowing how to create, read, write, populate, extract, and list ZIP files using the zipfile
module is a useful skill to have as a Python developer or a DevOps engineer.
In this video course, you’ll learn how to:
- Read, write, and extract files from ZIP files with Python’s
zipfile
- Read metadata about the content of ZIP