[IronPython] Pass Module Functions as Parameters to Functions
evans.d.andrew at gmail.com
Thu Feb 10 20:50:01 CET 2011
I am having trouble figuring out the correct way of doing this. I am using
the module cmd.
Anyway this is what I do
self.prompt = '>>> '
def do_something(self, myFunction):
myVar = someFunction(myModule.myFunction)
trying to use myFunction as a keyword argument so when I run it I can use a
function as argument
>>> something Test()
But the syntax I am using isn't right or something
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Ironpython-users