How to convert this list to string?

Jia Lu Roka100 at gmail.com
Wed Oct 18 03:20:50 EDT 2006


Hi all

 I have a list like:

>>> list
[1, 2, 3]
>>> list[1:]
[2, 3]

I want to get a string "2 3"

>>> str(list[1:])
'[2, 3]'

How can I do that ?

thanks




More information about the Python-list mailing list