Hi, my name is Jhon Jario Roa and this is my blog. Here you'll find a little bit of java, python, javascript, linux, birt, jasper, objective C, extJS and other stuff. You also are gonna find some solutions that worked for me.
Tuesday, July 24, 2012
Python: Pass a method as a parameter
def method1(): return 'hello world'
def method2(methodToRun): result = methodToRun() return result
No comments:
Post a Comment