str().join() isn't working
kyosohma at gmail.com
kyosohma at gmail.com
Tue Aug 21 13:01:05 EDT 2007
On Aug 20, 8:18 pm, Asun Friere <afri... at yahoo.co.uk> wrote:
> On Aug 21, 4:34 am, kyoso... at gmail.com wrote:
>
> > to concatenate 2 lists to each other before it does the join, ... is
> > impossible in Python. The "+" operator is only for addition and for
> > two or more strings.
>
> Really?
>
> >>> [1,2,3] + [4,5,6]
>
> [1, 2, 3, 4, 5, 6]
Yeah...my bad. I was coming down with a cold when I wrote that.
Mike
More information about the Python-list
mailing list