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!
>>> 
Advertisements

2 Responses 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)

  2. So glad you have each other to share life’s adventures… Click http://s.intmainreturn0.com/hukcoo091645

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

 
%d bloggers like this: