Reputation: 875
I have been searching for a way that could read gz file in python, and I did something like
with gzip.open(filepath) as infile:
...
However, it seems like the read-in data is byte-like and I cannot do something like for l in infile
. Is there a way to solve this?
Upvotes: 4
Views: 6423