call method like an argument7python code example Example: python function that takes a function def myfunc(anotherfunc, extraArgs): anotherfunc(*extraArgs)