Check zipfile module. For your case: import zipfile archive = zipfile.ZipFile('archive.zip') for file in archive.namelist(): if ...
確定! 回上一頁