hdarwin

wechall.net_Training: Encodings I

Dec 28th, 2012
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.57 KB | None | 0 0
  1. #!/usr/bin/env python
  2. solution = []
  3. str = "101010011010001101001111001101000001110100110010111110001110100010000011010011110011010000001101110101101110001011010011110100010000011001011101110110001111011111100100110010111001000100000110000111100111100011110100111010010101110010000010110011101111111010111100100100000111000011000011110011111001111101111101111111001011001000100000110100111100110100000110010111000011110011111100111100111110100110000111100101110100110010111100100101110"
  4. for x in xrange(63):
  5.     solution.append(chr(int(str[x*7:(x+1)*7], 2)))
  6. print ''.join(solution)
Advertisement
Add Comment
Please, Sign In to add comment