Skip to content

Instantly share code, notes, and snippets.

@0x19
Created December 31, 2013 16:39
Show Gist options
  • Select an option

  • Save 0x19/8199282 to your computer and use it in GitHub Desktop.

Select an option

Save 0x19/8199282 to your computer and use it in GitHub Desktop.
Figlet to happy new year
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