Conversion from tuple to argument list?
Bruce Edge
bedge at troikanetworks.com
Tue Nov 20 17:30:43 EST 2001
More information about the Python-list mailing list
Tue Nov 20 17:30:43 EST 2001
- Previous message (by thread): Conversion from tuple to argument list?
- Next message (by thread): Conversion from tuple to argument list?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
In <LEAK7.2203$px5.169125 at newsfeed.slurp.net>, Bruce Edge wrote: > 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. Never mind, just found apply.
- Previous message (by thread): Conversion from tuple to argument list?
- Next message (by thread): Conversion from tuple to argument list?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list