List to Tuple conversion

Carsten Gaebler cg at schlund.de
Mon Sep 25 11:16:44 EDT 2000


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!


tuple(map())

cg.



More information about the Python-list mailing list