On Sep 15, 8:36 am, Summercool <[EMAIL PROTECTED]> wrote:
> i think in Ruby, if you have an array (or list) of integers
>
> foo = [1, 2, 3]
>
> you can use foo.join(",") to join them into a string "1,2,3"
>
> in Python... is the method to use ",".join() ? but then it must take
> a list of strings... not integers...
>
> any fast method?
Isn't the OP just looking for something like:
>>> foo=[1,2,3]
>>> bar=[4,5,6]
>>> foo+bar
[1, 2, 3, 4, 5, 6]
>>>
--
http://mail.python.org/mailman/listinfo/python-list