Join list to a string
S = 'spammy' L = list(S) print L L[3] = 'x' # works for lists, not strings L[4] = 'x' print L S = ''.join(L) print S