[docs] [issue11160] ZipFile.comment expects bytes

STINNER Victor report at bugs.python.org
Sun Feb 13 10:59:46 CET 2011


STINNER Victor <victor.stinner at haypocalc.com> added the comment:

> can we use str.encode() function to convert string into bytes ?

Can you try different ZIP archivers to check which encoding is expected? WinZip, WinRAR, 7-zip, "zip" command line program on Linux, etc.

And do you have any reference into a ZIP documentation?

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue11160>
_______________________________________


More information about the docs mailing list