Passing Functions as parameter : Parameter : Function PYTHON TUTORIALS


PYTHON TUTORIALS » Function » Parameter »

 

Passing Functions as parameter


def foo():
     print 'in foo()'
bar = foo
bar()
def bar(argfunc):
  argfunc()
bar(foo)



Leave a Comment / Note


 
Verification is used to prevent unwanted posts (spam). .


PYTHON TUTORIALS

 Navioo Function
» Parameter