J
Joe Laughlin
I want to do something like the following
def foo(list_of_args):
call_other_function(arg1, arg2, arg3)
# Where arg1 == "x", arg2 == "y", etc.
# Should work with any list size
foo(["x", "y", "z"])
Make sense? Need clarification? In summary, I want to pass a list of
arguments to a function. The function needs to pass each argument in the
list to a different function.
Thanks,
Joe
def foo(list_of_args):
call_other_function(arg1, arg2, arg3)
# Where arg1 == "x", arg2 == "y", etc.
# Should work with any list size
foo(["x", "y", "z"])
Make sense? Need clarification? In summary, I want to pass a list of
arguments to a function. The function needs to pass each argument in the
list to a different function.
Thanks,
Joe