X-Git-Url: http://iramuteq.org/git?p=iramuteq;a=blobdiff_plain;f=sheet.py;h=76fcde2854e9cbf91e980b930cd4d88d44b214cf;hp=c4fbd698bf8e821d96345c70336bd689d474b63f;hb=f1aa29b61a02454fc716775163ead02630d4a4df;hpb=22cd27b2bbe9ab1ffa7ef06fa764b5147ae17dad diff --git a/sheet.py b/sheet.py index c4fbd69..76fcde2 100644 --- a/sheet.py +++ b/sheet.py @@ -2,11 +2,10 @@ # -*- coding: utf-8 -*- #Author: Pierre Ratinaud #Copyright (c) 2008-2009 Pierre Ratinaud -#Lisense: GNU/GPL +#License: GNU/GPL from wx.lib import sheet -import wx class MySheet(sheet.CSheet): @@ -21,14 +20,9 @@ class MySheet(sheet.CSheet): event.Skip() def Populate(self,content): - c=0 - for r in content: - c+=1 nrow=len(content) - print 'nrow', nrow self.SetNumberRows(nrow) ncol=len(content[1]) - print 'ncol',ncol self.SetNumberCols(ncol) for y in range(0,nrow): for i in range(0,ncol):