Created
April 15, 2021 05:57
-
-
Save Mattamorphic/4c6688f603ff81a2eed5195e04e6880b to your computer and use it in GitHub Desktop.
Decompression PYthon
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from io import StringIO | |
import csv | |
import gzip | |
with gzip.open(filename, mode="rt") as g: | |
csvobj = csv.reader(g) | |
for line in csvobj: | |
print(line) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment