Re: Weird bug with an integer

2008-05-08 Thread Gabriel Genellina
En Thu, 08 May 2008 22:47:59 -0300, David Anderson <[EMAIL PROTECTED]> escribió: Ps: When I go to shell and type:rowN = int(0) Why int(0)? Why not just 0??? Look this slice of code: rowN = int(0) for row in rows: success = self.resultGrid.AppendRows(); colN

Re: Weird bug with an integer

2008-05-08 Thread David Anderson
Ps: When I go to shell and type:rowN = int(0) rows = [["1223", "11/23/08", "Purchase", "To be shipped", "Gallery Name", "Art Title[22 of 300]", "$10,000"],#1st row ["1223", "11/23/08", "Purchase", "To be shipped", "Gallery Name", "Art Title[22 of 300]", "$10,000"],#2nd row

Weird bug with an integer

2008-05-08 Thread David Anderson
Look this slice of code: rowN = int(0) for row in rows: success = self.resultGrid.AppendRows(); colN = int(0) for col in row: self.resultGrid.SetReadOnly(self.resultGrid.GetNumberRows() - 1,colN,isReadOnly = True) print ro