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