running python as direct mode also provides me the same error? Python 2.5.2 (r252:60911, Apr 21 2008, 11:12:42) [GCC 4.2.3 (Ubuntu 4.2.3-2ubuntu7)] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> a=[]*8 >>> a[0]=0xFF0000 Traceback (most recent call last): File "<stdin>", line 1, in <module> IndexError: list assignment index out of range >>>
-------------------------------- On Mon, Jul 28, 2008 at 12:03 PM, Paulo Silva <[EMAIL PROTECTED]> wrote: > thanks, but i found nothing there... :-( > > ---------------- > > On Mon, Jul 28, 2008 at 11:56 AM, Noah Kantrowitz <[EMAIL PROTECTED]> wrote: >> Paulo Silva wrote: >>> >>> Hi, i'm having problems on defining a hexcolour array - weird is i >>> never have this kind of problem when defining a string array in the >>> same way... >>> This may look as a very naive mistake, but i got really stuck, since >>> even from google searches i can't get any help... >>> Thanks a lot in advance... :-) >> >> http://diveintopython.org/native_data_types/lists.html >> >> --Noah >> >> >