Skip to content

Instantly share code, notes, and snippets.

Created July 7, 2014 00:33
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 anonymous/7ee9d545f73f024ad7d2 to your computer and use it in GitHub Desktop.
Save anonymous/7ee9d545f73f024ad7d2 to your computer and use it in GitHub Desktop.
Desafio hacker Comsolid7
import urllib
res = urllib.urlopen('https://www.dropbox.com/s/va7pz2rq0sv0xj8/2d9181e870ada9346c422751d62b28c945f6976676915e13bc1732076cc0cbd2?dl=1')
hex_text = res.read()
hex_text = ''.join(hex_text.split())
print ''.join([chr(int(''.join(e), 16)) for e in zip(hex_text[::2], hex_text[1::2])])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment