how to read content from a compressed zip file? #18296
Replies: 1 comment
-
|
Sorry, I'v found it's a bug related to zipfile, so it should not be discussed here. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I am using this zipfile lib to read zip file content.
it can work with plain/non-compressed zip file.
I can observe the zip file info:
I think it is not compressed since Compressed equal to Uncompressed.
for another example,
it will print
but failure to read content
the same code work on full python version.
and I'v found the micropython version zipfile use deflate to handle the underlay data.
the deflate.DeflateIO failure to decompress zlib version data.
Beta Was this translation helpful? Give feedback.
All reactions