Created
December 31, 2014 22:51
-
-
Save beakr/ed5273614bc4f4087abb to your computer and use it in GitHub Desktop.
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
#!/usr/bin/env python | |
from __future__ import print_function | |
import sys | |
def make_speech_bubble(message): | |
def times_msg_size(string): return (string * len(message)) | |
print(' _' + times_msg_size('_') + '_') | |
print('/ ' + times_msg_size(' ') + ' \\') | |
print('| ' + message + ' |') | |
print('\\_' + times_msg_size('_') + '_/') | |
print(' \\') | |
print(' \\') | |
def make_tapir(): | |
print(''' _,.,.__,--.__,-----. | |
,"" ')) `. | |
,' e )) | |
( .='__, , | |
`~` `-\\ /._____,/ / | |
| | ) ( ( ; | |
| | | / / / /''') | |
if __name__ == '__main__': | |
args = ' '.join(sys.argv[1:]) | |
make_speech_bubble(args) | |
make_tapir() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment