Haunted House

Origo is a funnyface (0,0)

Python is way more modular than I though!

Posted by Gasten on May 22, 2008

>>> def myFunc():
...     print "myFunc prints!"
...
>>> def execFunc(function):
...     function()
...
>>> execFunc(myFunc)
myFunc prints!
>>>

One Response to “Python is way more modular than I though!”

  1. nitro2k01 said

    Yup… You can also do similar stuff in Javascript. (Sorry for the off-topicness)

Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <pre> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>