【Python】zipfile 解压

笔记,经常用到 

 from zipfile import ZipFile

 with ZipFile('model/Resnet-101-AP-GeM.pt.zip', 'r') as f:
     f.extractall('model/')

你可能感兴趣的:(记小tips,python)