Re: Arguments for map'ped functions

2009-02-05 Thread Peter Otten
mk wrote: > So I have this function I want to map onto a list of sequences of > *several* arguments (while I would want to pass those arguments to each > function in the normal fashion). I realize this is contrived, maybe an You can either use a list comprehension [f(*args) for args in seq] or

Arguments for map'ped functions

2009-02-05 Thread mk
Hello everyone, So I have this function I want to map onto a list of sequences of *several* arguments (while I would want to pass those arguments to each function in the normal fashion). I realize this is contrived, maybe an example would make this clear: params = [ ('comp.lang.python', ['rt