python中壓縮和解壓文件的方法

壓縮python import os import zipfile def zipdir(path, ziph): # ziph is zipfile handle for root, dirs, files in os.walk(path): for file in files: ziph.write(os.path.join(root,
相關文章
相關標籤/搜索