Conversion from tuple to argument list?
ejohnso9 at earthlink.net
Wed Nov 21 00:28:23 CET 2001
Chris Liechti wrote:
> >>> args = range(3)
> newer python releases:
> >>> struct.pack("bbb", *args)
Hmm, I am new to Python. ORA's "Learning Python" & "Programming Python"
both document the use of '*' for variable argument lists in the function
definition, but this is the first time I have seen it used in the function
call. Does this sort of use have a name? Is this documented somewhere?
More information about the Python-list