KraftDiner wrote:
> I am trying to implement a two dimensional array.
> mylist = [[a,b,c],[d,e,f,c],[g,h,i]]
>
> So the array is of length 3 here...
> So how do I initialize this array and then set each object?
> At some point in my code I know there will be 3 lists in the list.
> So how do I init
KraftDiner wrote:
> I am trying to implement a two dimensional array.
> mylist = [[a,b,c],[d,e,f,c],[g,h,i]]
>
> So the array is of length 3 here...
> So how do I initialize this array and then set each object?
> At some point in my code I know there will be 3 lists in the list.
> So how do I init
I am trying to implement a two dimensional array.
mylist = [[a,b,c],[d,e,f,c],[g,h,i]]
So the array is of length 3 here...
So how do I initialize this array and then set each object?
At some point in my code I know there will be 3 lists in the list.
So how do I initialize this list such that I can
On 22/12/05, Tim Williams (gmail) <[EMAIL PROTECTED]> wrote:
On 22 Dec 2005 10:14:10 -0800, KraftDiner <
[EMAIL PROTECTED]> wrote:
Is there a cleaner way to implement this code?if
len(self.listOfObjects) == 0:self.listOfObjects.append(self.cur
On 22 Dec 2005 10:14:10 -0800, KraftDiner <[EMAIL PROTECTED]> wrote:
Is there a cleaner way to implement this code?if
len(self.listOfObjects) == 0:self.listOfObjects.append(self.currentObject)elif:
KraftDiner wrote:
> Is there a cleaner way to implement this code?
>
> if len(self.listOfObjects) == 0:
> self.listOfObjects.append(self.currentObject)
> elif:
> self.listOfObjects[self.currentS
Is there a cleaner way to implement this code?
if len(self.listOfObjects) == 0:
self.listOfObjects.append(self.currentObject)
elif:
self.listOfObjects[self.currentSlice] =
self.currentO