Skip to content

Instantly share code, notes, and snippets.

@lwzm
Created August 6, 2019 07:15
Show Gist options
  • Save lwzm/71bf7fc5a99ba2fe4394f215f8c11780 to your computer and use it in GitHub Desktop.
Save lwzm/71bf7fc5a99ba2fe4394f215f8c11780 to your computer and use it in GitHub Desktop.
import gzip
with gzip.open(fn, 'rt') as f:
for i in f:
print(i)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment