Variable option count

Florian Lindner Florian.Lindner at xgm.de
Wed May 4 10:10:05 EDT 2005


Hello,
how can I give an arbitrary number of options in a automated way to a
function?

Example.

I've the list A =

[
        1
        2
        3
        ...
]

Now I want to give this list to a function so that it is the same for
function like:

f(1, 2, 3, ...)

How can I do that?

Thanks,
Florian



More information about the Python-list mailing list