> The python doesn't supports t1[keyword_index]="XYZhello" (string > object assignment is not supported). How do I get to this problem? Any > sugguestions?
Build a new string var using slicing. eg: t1 = t1[:keyword_index] + "XYZhello" + [keyword_index] Or use string formatting: t1 = "your text bla bla %s bla bla bla %s bla bla" % (string1, string2) -- http://mail.python.org/mailman/listinfo/python-list