Quantcast
Channel: Active questions tagged python - Stack Overflow
Viewing all articles
Browse latest Browse all 23131

Python read() not reading whole bytes from .zip file in "rb" mode [closed]

$
0
0

I am trying to read .zip file in my code, but its just reading few bytes (22 to be exact)

Here is my code snippet

open(filepath, "rb").read()

Earlier it used to read all the bytes, but suddenly it has stopped working.I need to read whole file bytes and forward those furhter

I am using Python3.10 in PyCharm


Viewing all articles
Browse latest Browse all 23131

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>