StackOverflow 文件 Python Language 教程 解壓縮檔案 使用 Python ZipFile.extractall() 解壓縮 ZIP 檔案 使用 Python ZipFile.extractall() 解壓縮 ZIP 檔案 Created: November-22, 2018 file_unzip = 'filename.zip' unzip = zipfile.ZipFile(file_unzip, 'r') unzip.extractall() unzip.close() 使用 Python TarFile.extractall() 解壓縮 tarball解壓縮檔案