Re: list to tuple conversion

2008-10-01 Thread Gabriel Genellina
En Wed, 01 Oct 2008 04:51:33 -0300, sc <[EMAIL PROTECTED]> escribió: Thanx to a recent thread I am able to have a print string with a variable number of formatters -- what I now lack for the creation of an elegant print statement is a tuple -- following is the code, the last line of which does n

Re: list to tuple conversion

2008-10-01 Thread sc
Gary M. Josack wrote: > sc wrote: >> clp: >> >> Thanx to a recent thread I am able to have a print string >> with a variable number of formatters -- what I now lack for >> the creation of an elegant print statement is a tuple -- >> following is the code, the last line of which does not work: >> >>

Re: list to tuple conversion

2008-10-01 Thread Gary M. Josack
sc wrote: clp: Thanx to a recent thread I am able to have a print string with a variable number of formatters -- what I now lack for the creation of an elegant print statement is a tuple -- following is the code, the last line of which does not work: #!/usr/bin/python import xml.sax import e

Re: list to tuple conversion

2008-10-01 Thread Pekka Laukkanen
2008/10/1 sc <[EMAIL PROTECTED]>: > If there were a builtin function that took a list and > returned a tuple, I'd be there, but if there is such a > thing I need someone to point me at it. I can't help > thinking I am missing some obvious construct, and I'll > be advised to go reread the tutorial,

list to tuple conversion

2008-10-01 Thread sc
clp: Thanx to a recent thread I am able to have a print string with a variable number of formatters -- what I now lack for the creation of an elegant print statement is a tuple -- following is the code, the last line of which does not work: #!/usr/bin/python import xml.sax import eaddyhandler p