There is no official file name encoding for ZIP files. If you have unicode file names, you must convert them to byte strings in your desired encoding before passing them to '(). WinZip interprets all file names as encoded in CP437, also known as DOS Latin.
在传递到extractall方法之前,应该对文件进行解码
读取模块中的documentation,它们在以下方面是明确的:
相关问题 更多 >
编程相关推荐