[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [pygame] coloring book program to try



On Sun, 30 Nov 2003, jabawack wrote:
> Everywhere I click I get:
> 
> File "coloring_book.py", line 173, in check_click
>     for layer in self.layers[::-1]:
> TypeError: sequence index must be integer

Are you using Python 2.3 or newer? It is required for the extended slice 
syntax.

--
Sami Hangaslammi