Gregory P. Smith <g...@krypto.org> added the comment:
The first four bytes of the file do not identify a zip file. A zip file is identified by the end of file central directory. Which you then must read entries of to determine where the start of the archive may be... often not at position zero. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue42096> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com