projects
/
iramuteq
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
...
[iramuteq]
/
sheet.py
diff --git
a/sheet.py
b/sheet.py
index
c4fbd69
..
76fcde2
100644
(file)
--- a/
sheet.py
+++ b/
sheet.py
@@
-2,11
+2,10
@@
# -*- coding: utf-8 -*-
#Author: Pierre Ratinaud
#Copyright (c) 2008-2009 Pierre Ratinaud
# -*- coding: utf-8 -*-
#Author: Pierre Ratinaud
#Copyright (c) 2008-2009 Pierre Ratinaud
-#Li
s
ense: GNU/GPL
+#Li
c
ense: GNU/GPL
from wx.lib import sheet
from wx.lib import sheet
-import wx
class MySheet(sheet.CSheet):
class MySheet(sheet.CSheet):
@@
-21,14
+20,9
@@
class MySheet(sheet.CSheet):
event.Skip()
def Populate(self,content):
event.Skip()
def Populate(self,content):
- c=0
- for r in content:
- c+=1
nrow=len(content)
nrow=len(content)
- print 'nrow', nrow
self.SetNumberRows(nrow)
ncol=len(content[1])
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):
self.SetNumberCols(ncol)
for y in range(0,nrow):
for i in range(0,ncol):