1 import zipfile 2 3 # z =zipfile.ZipFile('HAH.zip','w') 4 # 5 # z.write('out.xml') 6 # z.write('ini') 7 # z.close() 8 z = zipfile.ZipFile('HAH.zip','r') 9 z.extractall() 10 z.close()