Last active
August 29, 2015 14:13
-
-
Save dblotsky/178f8db46787d55b44f2 to your computer and use it in GitHub Desktop.
Translate a well-formatted ASCII binary string into readable English.
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
binary = '01001001 00100000 01100010 01100101 01101100 01101001 01100101 01110110 01100101 00100000 01101001 01101110 00100000 01111001 01101111 01110101 00100000 00111100 00110011' | |
english = ''.join(chr(int(c, 2)) for c in binary.split(' ')) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment