Quoting Luke Jordan <[EMAIL PROTECTED]>:
> But this does not:
>
> def aFunc(configArg):
> print "aFunc with argument"
> print configArg
>
> def anotherFunc(configArg):
> print "anotherFunc with argument"
> print configArg
> return aFunc,1
^^
> def dispatch(func,configArg
Hi!
I am using a suggestion from this list to handle calling different
functions conditionallly based on user input. What I'm trying to do is
have functions that are 'configurable' in the sense that a choice from
the user affects the way it performs.
This works:
def aFunc():
print "a