List to Tuple conversion

Gary Pennington Gary.Pennington at uk.sun.com
Mon Sep 25 12:26:47 EDT 2000


tuple function

e.g

aList=[1]
aTuple=tuple(aList)

Gary


Dale Strickland-Clark wrote:

> How do I do it?
>
> I get a list out of map() but I need a tuple for the string %
> arguments.
>
> How do I convert? Going the other way seems easy!
>
> Thanks
> Dale Strickland-Clark
> Out-Think Ltd
> Business Technology Consultants




More information about the Python-list mailing list