Passing ints to a function

stayvoid stayvoid at gmail.com
Sat Jun 9 02:21:38 CEST 2012


> You want to unpack the list:
>
> function(*a)  # like function(a[0], a[1], a[2], ...)

Awesome! I forgot about this.

Thanks.


More information about the Python-list mailing list