dynamic argument name for functions
rkmr.em at gmail.com
Fri Jan 12 21:17:04 CET 2007
I want to pass a value to an argument of a function. The argument name is
dynamic and is stored in a
variable. How do I call the function using with arg_name and value as the
def function(arg1='None', arg2='None', arg3='None'):
arg_name = 'arg1'
arg_value = 'i am passing a value to argument 1'
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Python-list