[Tutor] Spongebob Pythonpants

Jim Mooney cybervigilante at gmail.com
Fri Apr 24 04:37:56 CEST 2015


I was depressed at the thought of learning unicode, then discovered Python
was fun again since I can easily print any ascii art from
http://www.chris.com/ascii/  with a multiline print, so long as I replace
any backslash with two of them. Spongebob Squarepants was, of course, the
obvious first choice. The heck with Tkinter. (Bob is coming out a bit thin
in my gmail but looks fine in the REPL.)

print('''
      .--..--..--..--..--..--.
    .' \\  (`._   (_)     _   \\
  .'    |  '._)         (_)  |
  \\ _.')\\      .----..---.   /
  |(_.'  |    /    .-\\-.  \\  |
  \\     0|    |   ( O| O) | o|
   |  _  |  .--.____.'._.-.  |
   \\ (_) | o         -` .-`  |
    |    \\   |`-._ _ _ _ _\\ /
    \\    |   |  `. |_||_|   |
    | o  |    \\_      \\     |     -.   .-.
    |.-.  \\     `--..-'   O |     `.`-' .'
  _.'  .' |     `-.-'      /-.__   ' .-'
.' `-.` '.|='=.='=.='=.='=|._/_ `-'.'
`-._  `.  |________/\\_____|    `-.'
   .'   ).| '=' '='\\/ '=' |
   `._.`  '---------------'
           //___\\   //___\\
             ||       ||
    LGB      ||_.-.   ||_.-.
            (_.--__) (_.--__)''')


*** Remote Interpreter Reinitialized  ***
>>>

      .--..--..--..--..--..--.
    .' \  (`._   (_)     _   \
  .'    |  '._)         (_)  |
  \ _.')\      .----..---.   /
  |(_.'  |    /    .-\-.  \  |
  \     0|    |   ( O| O) | o|
   |  _  |  .--.____.'._.-.  |
   \ (_) | o         -` .-`  |
    |    \   |`-._ _ _ _ _\ /
    \    |   |  `. |_||_|   |
    | o  |    \_      \     |     -.   .-.
    |.-.  \     `--..-'   O |     `.`-' .'
  _.'  .' |     `-.-'      /-.__   ' .-'
.' `-.` '.|='=.='=.='=.='=|._/_ `-'.'
`-._  `.  |________/\_____|    `-.'
   .'   ).| '=' '='\/ '=' |
   `._.`  '---------------'
           //___\   //___\
             ||       ||
    LGB      ||_.-.   ||_.-.
            (_.--__) (_.--__)
>>>


-- 
Jim

No comment


More information about the Tutor mailing list