Created
December 31, 2013 16:39
-
-
Save 0x19/8199282 to your computer and use it in GitHub Desktop.
Figlet to happy new year
This file contains hidden or 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
| import operator | |
| from pyfiglet import figlet_format | |
| print figlet_format(reduce(operator.add, map( | |
| lambda word: chr(int(word, 2)), ( | |
| '01001000', '01100001', '01110000', '01110000', '01111001', '00100000', '01001110', '01100101', '01110111', | |
| '00100000', '01011001', '01100101', '01100001', '01110010', '00100001' | |
| ) | |
| ))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment