Re: [Tutor] create an empty array of images

2009-01-03 Thread bob gailer
i i wrote: Hi tutor, thanks for the help ,u dont understand cause i have given the psudo code,i have not given the full code only apart of it. I only want an emptty array and put the value [i] in it. This [i] value is the one that i want to show.Im making this activity in glade ,

Re: [Tutor] create an empty array of images

2009-01-03 Thread i i
Hi tutor, thanks for the help ,u dont understand cause i have given the psudo code,i have not given the full code only apart of it. I only want an emptty array and put the value [i] in it. This [i] value is the one that i want to show.Im making this activity in glade ,the set function

Re: [Tutor] create an empty array of images

2009-01-03 Thread bob gailer
i i wrote: yes i want to clear the images before the next iteration,here is the pseudo code what i want to do a = [ ] for i in range(self.numOne) a.append([i]) to create an empty array, and append the index i to the array and pass this index to gtk image,how i can do this in *for-in* stateme

Re: [Tutor] create an empty array of images

2009-01-03 Thread Kent Johnson
On Sat, Jan 3, 2009 at 3:16 AM, i i wrote: > yes i want to clear the images before the next iteration,here is the pseudo > code what i want to do > > a = [ ] > for i in range(self.numOne) > a.append([i]) > to create an empty array, and append the index i to the array and pass this > index to gtk

[Tutor] create an empty array of images

2009-01-03 Thread i i
yes i want to clear the images before the next iteration,here is the pseudo code what i want to do a = [ ] for i in range(self.numOne) a.append([i]) to create an empty array, and append the index i to the array and pass this index to gtk image,how i can do this in *for-in* statement 0 for i in