>>> myList[1] \'from form\' >>> myList[1].append(s) Traceback (most recent call last): File \"\", line 1, in
If you want to append a value to myList, use myList.append(s).
myList.append(s)
Strings are immutable -- you can't append to them.