[Tutor] UNSUBSCRIPTABLE?
Kapsicum
duakapil at gmail.com
Sun Mar 8 21:30:55 CET 2009
On Mon, Mar 9, 2009 at 1:18 AM, WM. <wferguson1 at socal.rr.com> wrote:
> Traceback (most recent call last):
> File "C:\Python26\TicTacToeD.py", line 165, in <module>
> main()
> File "C:\Python26\TicTacToeD.py", line 150, in main
> DisplayBoard(board)
> File "C:\Python26\TicTacToeD.py", line 68, in DisplayBoard
> print "\n\t", board[1], "|", board[2], "|", board[3]
> TypeError: 'function' object is unsubscriptable
error means the object returned is not of type sequence
>
>
> I am fooling around with Dawson's "...for the Absolute Beginner". The
> tic-tac-toe program will not run for me. I'm guessing a typi somewhere, but
> cannot find it.
>
> My questions here are;
> can somebody tell me, in a general way, what the error message means?
> is there, somewhere, a list of error messages with explanations?
> is there, somewhere, a dictionary of Python words, such as
> 'unsubscriptable'?
>
> _______________________________________________
> Tutor maillist - Tutor at python.org
> http://mail.python.org/mailman/listinfo/tutor
>
--
Kapil Dua
Mobile: +919711311052
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20090309/c9728ede/attachment-0001.htm>
More information about the Tutor
mailing list