expand tuple in string

Steve Lamb grey at despair.dmiyu.org
Wed Oct 15 18:22:05 EDT 2003


On 2003-10-15, Erik Max Francis <max at alcyone.com> wrote:
> Ansgar Wollnik wrote:

>> result="one, two, three"

> Try:
>
> 	', '.join(myTuple)

    Or:

    "%s%s%s" % myTuple

-- 
         Steve C. Lamb         | I'm your priest, I'm your shrink, I'm your
       PGP Key: 8B6E99C5       | main connection to the switchboard of souls.
-------------------------------+---------------------------------------------




More information about the Python-list mailing list