摘要:
1 import zipfile 2 import os 3 4 5 def unzip(zip_name, target_dir): 6 files = zipfile.ZipFile(zip_name) 7 for zip_file in files.namelist(): 8 files.extract(zip_file, target_... 阅读全文
摘要:
1 import zipfile 2 import os 3 4 5 def unzip(zip_name, target_dir): 6 files = zipfile.ZipFile(zip_name) 7 for zip_file in files.namelist(): 8 files.extract(zip_file, target_... 阅读全文
|