| ||||||
| 5/26 |
| 2008/2/20-22 [Computer/HW/Memory] UID:49204 Activity:nil |
2/20 In python, say I have a function:
def hello(a,b,c): ...
and I have a list l that contains 3 entries (l[0], l[1], l[2]),
how can I pass it easily in the following manner?
hello(l)
\_ hello(*l)
\_ Oh cool, thanks!!! |