how to use function as parameter for function in python code example
Example: python function that takes a function
def myfunc(anotherfunc, extraArgs):
anotherfunc(*extraArgs)
def myfunc(anotherfunc, extraArgs):
anotherfunc(*extraArgs)