压缩import zipfilez = zipfile.ZipFile('test.zip','w')z.write('b.json')z.write('c.json')解压
z = zipfile.ZipFile('test.zip', 'r')z.extractall(path='.')z.close()