string->list->string

Douglas Alan nessus at mit.edu
Mon Apr 23 21:46:56 EDT 2001


Courageous <jkraska1 at san.rr.com> writes:

> Not getting it: I want

> s = "abc"
> l = list(s)
> <something>(l)
> "abc"

import string
string.join(l, "")

|>oug



More information about the Python-list mailing list