how to make a zip file with 7zip code example
Example 1: how to unzip files using zipfile module python
import zipfile
with zipfile.ZipFile("file.zip","r") as zip_ref:
zip_ref.extractall("targetdir")
Example 2: create zip file command line
for ubuntu : zip -r example.zip original_folder