Prepackaged function args

Chris Rebert clp2 at
Mon May 18 04:47:23 EDT 2009

On Mon, May 18, 2009 at 1:36 AM, boblatest at
<boblatest at> wrote:
> Hello group,
> suppose I've got a function f() that takes N parameters, and a list
> (or tuple) arg[] with N elements that I'd like to pass as parameters.
> The straightforward function call looks like this:
> result = f(arg[0], arg[1], ..., arg[N-1])

result = f(*arg)


More information about the Python-list mailing list