[email protected] wrote: > I have a list with a function's name and its > parameters...['func_name','param1','param2',...]
Keep a list with the function's object reference, and tuples of args instead: def func1(*args, **kwargs): pass mylist = [func1, args, kwargs] > I can't remember how to invoke the function. Then just call it like: mylist[0](*mylist[1], **mylist[2]) Paul _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users Searchable Archives: http://leafe.com/archives/search/dabo-users This message: http://leafe.com/archives/byMID/[email protected]
