Re: [Tutor] list question

2009-08-11 Thread Ataulla S H
On Tue, Aug 11, 2009 at 5:47 PM, proportio...@msn.com wrote: hi i am currently doing the 'livewires' python tutorial lesson 5. i am making a little game that makes a few squares chase a circle around a little grid. i can get the 1 square acting on 1 variable to come up, but the tutorial now

Re: [Tutor] list question

2009-08-11 Thread Wayne
On Tue, Aug 11, 2009 at 7:17 AM, proportio...@msn.com wrote: hi i am currently doing the 'livewires' python tutorial lesson 5. i am making a little game that makes a few squares chase a circle around a little grid. i can get the 1 square acting on 1 variable to come up, but the tutorial now

Re: [Tutor] list question

2009-08-11 Thread Ataulla S H
if u want to add new attributes into ur list u need to import list object in ur class class customlist(list): x = 'your val' c = customlist() dir(c) ['__add__', '__class__', '__contains__', '__delattr__', '__delitem__', '__delslice__', '__dict__', '__doc__', '__eq__', '__ge__',

Re: [Tutor] list question

2009-08-11 Thread Dave Angel
Wayne wrote: On Tue, Aug 11, 2009 at 7:17 AM, proportio...@msn.com wrote: hi i am currently doing the 'livewires' python tutorial lesson 5. i am making a little game that makes a few squares chase a circle around a little grid. i can get the 1 square acting on 1 variable to come up, but

Re: [Tutor] List-question

2005-12-19 Thread Ed Singleton
On 19/12/05, Øyvind [EMAIL PROTECTED] wrote: I have one function that finds some values. Then I want that function to find new values based on the values it found first. However, by just looping, it starts on an eternal job. As illustrated in: list = [1,2,3] list2 = list list2 [1, 2,