Skip to content

Instantly share code, notes, and snippets.

@dchaplinsky
Created January 7, 2015 01:40
Show Gist options
  • Select an option

  • Save dchaplinsky/8c5649017be80c1929a0 to your computer and use it in GitHub Desktop.

Select an option

Save dchaplinsky/8c5649017be80c1929a0 to your computer and use it in GitHub Desktop.
import bz2
with bz2.BZ2File("test.bz2", "r") as fp:
i = 0
for l in fp:
print(l)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment