解压 zip 文件

文件操作 / 压缩文件

import zipfile

zip_file = "data.zip"
with zipfile.ZipFile(zip_file) as zip_ref:
    zip_ref.extractall("tmp/")