Python中zip文件解压中文乱码解决方案

https://blog.csdn.net/brucexiajun/article/details/103458614?ops_request_misc=%257B%2522request%255Fid%2522%253A%2522159349540319724811854689%2522%252C%2522scm%2522%253A%252220140713.130102334.pc%255Fall.%2522%257D&request_id=159349540319724811854689&biz_id=0&utm_medium=distribute.pc_search_result.none-task-blog-2allfirst_rank_ecpm_v1~rank_ctr_v4-19-103458614.ecpm_v1_rank_ctr_v4&utm_term=python%E8%A7%A3%E5%8E%8Bzip%E6%96%87%E4%BB%B6

可以意会的参考一下
修改zipfile的源代码

在源代码中搜索字符串
只要把

cp437 修改成gbk 

就可以辣~

你可能感兴趣的:(python)