#coding=gbk
import zipfile
zip_path = "..\小草雷V1.zip"
zip = zipfile.ZipFile(zip_path, 'r')
# with open(outfile, 'w') as f:
for l in zip.namelist():
print(l)
print(l, file=open(zip_path+'.txt', 'a',errors='replace'))
# print(zip.namelist(), file=zip_path+'.txt')
03-06
1644
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)
01-20
3355
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)
11-13
1063
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)
12-06
3万+
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)
05-28
1377
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)