Created
October 16, 2015 01:58
-
-
Save rondinelisaad/b2810ec94062df4e5743 to your computer and use it in GitHub Desktop.
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 sys import argv | |
import gzip | |
script, gzip_file = argv | |
with gzip.open(gzip_file) as g: | |
try: | |
while g.read(1024 * 1024): | |
pass | |
except IOError as e: | |
print("Corrompido!", e) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment