Skip to content

Instantly share code, notes, and snippets.

@lufeihaidao
Created April 13, 2014 15:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lufeihaidao/10588606 to your computer and use it in GitHub Desktop.
Save lufeihaidao/10588606 to your computer and use it in GitHub Desktop.
Q6 of python challenge
f = "channel.zip"
z = zipfile.ZipFile(f)
name = '90052.txt'
while 1:
print z.getinfo(name).comment,
name = z.read(name).split()[-1] + '.txt'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment