Conversion from tuple to argument list?

Bruce Edge bedge at troikanetworks.com
Tue Nov 20 17:16:24 EST 2001


Forgive the stupid question, probably a C programmer mindset issue here.

I have a tuple of data items say (0,1,2)  I want to pass to struct.pack,
which takes:
	pack (fmt, v1, v2, ...)

How can I pass my tuple to pack as its arg2,3,4,...

-TIA, Bruce.



More information about the Python-list mailing list