spots[y][x]=mark fails with a "'str' object does not support item assignment" error,even though: >>> a=[["a"]] >>> a[0][0]="b" and: >>> a=[["a"]] >>> a[0][0]=1000000 both work. Spots is a nested list created as a copy of another list. -- http://mail.python.org/mailman/listinfo/python-list
- 'str' object does not support item assignment jimbo1qaz
- Re: 'str' object does not support item assignment jimbo1qaz
- Re: 'str' object does not support item assignment Ian Kelly
- Re: 'str' object does not support item assignment MRAB
- Re: 'str' object does not support item assignment jimbo1qaz
- Re: 'str' object does not support item assignment Andrea Crotti
- Re: 'str' object does not support item assignment Mark Lawrence