I want to do list index function. >>> y=['1','2','3','4'] >>> y ['1', '2', '3', '4'] >>> y.index['2'] Traceback (most recent call last): File "<stdin>", line 1, in ? TypeError: unsubscriptable object It works with y=[1,2,3,4]. Anyone has any hint, what's the reason here? thanks