LOLPython

June 6, 2007 at 1:17 pm | In Geek Humor, Python |
IN MAI time GIMME localtime LIKE TIMEZOR

IZ __name__ KINDA LIKE "__main__"?
    VISIBLE "YOUZ GOT CHEEZBURGERS?"
    CATURDAY CAN HAS FIV
    TODAYZ CAN HAS TIMEZOR THING LOOK AT SIKS!
    YOUGOTZ CAN HAS raw_input THING
    IZ YOUGOTZ OWN lower THING KINDA LIKE "yes"?
        IZ TODAYZ KINDA LIKE CATURDAY?
            MYLOOPZ CAN HAS THR33
            WHILE I CUTE?
                VISIBLE "TODAYZ CATURDAY! I GETZ ALL YOUS CHEEZBURGERS!"
                MYLOOPZ THROWZ AWAY ONCE
                IZ MYLOOPZ SMALL LIKE EASTERBUNNY?
                    KTHXBYE
        NOPE?
            VISIBLE "O RLY? CAN I HAS YOUS CHEEZBURGER?"
    NOPE?
        VISIBLE "I SAW WHAT YOU DID, YOU ATE MY CHEEZBURGERS!"

Yea, you're probably saying to yourself, "WTF IS THAT?"

It's LOLPython, the geekiest, funniest thing I've seen all week!

The LOLPython interpreter translates a variation of LOLCode into standard python. LOLCode itself is pretty neat, but because LOLPython is based on Python, it automatically inherits all of the Python library too. Here's the above code after translation:

from time import localtime as TIMEZOR
if __name__ == '__main__' :
    print 'YOUZ GOT CHEEZBURGERS?'
    CATURDAY = 5
    TODAYZ = TIMEZOR ()[ 6 ]
    YOUGOTZ = raw_input ()
    if YOUGOTZ . lower ()== 'yes' :
        if TODAYZ == CATURDAY :
            MYLOOPZ = 3
            while 1:
                print 'TODAYZ CATURDAY! I GETZ ALL YOUS CHEEZBURGERS!'
                MYLOOPZ -= 1
                if MYLOOPZ <= 0 :
                    break
        else :
            print 'O RLY? CAN I HAS YOUS CHEEZBURGER?'
    else :
        print 'I SAW WHAT YOU DID, YOU ATE MY CHEEZBURGERS!'


1337 Cat Tellin like it is


1 Comment »

RSS feed for comments on this post. TrackBack URI

  1. Hello,

    I wrote LOLPython and decided to see if there's any
    uptake on what I did. Google find about 100 non-redundant
    pages. Most of those are aggregators or bookmark services.
    In the whole bunch you're the only person who dig through
    the code, wrote your own lolpython program, and publicly
    commented on it. Thanks!

    Comment by Andrew Dalke — June 7, 2007 #

Leave a comment

XHTML: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Powered by WordPress.
Entries and comments feeds. Valid XHTML and CSS. ^Top^
XML Sitemap