X-Git-Url: http://www.iramuteq.org/git?a=blobdiff_plain;f=sheet.py;h=f72ca54763204e869e03d7cb3c490bdbafcddee3;hb=eaa044d1147e26b82942ce56d5965c83fdddf069;hp=76fcde2854e9cbf91e980b930cd4d88d44b214cf;hpb=10d67a5cd48583c060b6a0e77e87c41f80671027;p=iramuteq diff --git a/sheet.py b/sheet.py index 76fcde2..f72ca54 100644 --- a/sheet.py +++ b/sheet.py @@ -1,14 +1,19 @@ -#!/bin/env python # -*- coding: utf-8 -*- #Author: Pierre Ratinaud -#Copyright (c) 2008-2009 Pierre Ratinaud +#Copyright (c) 2008-2020 Pierre Ratinaud +#modification pour python 3 : Laurent Mérat, 6x7 - mai 2020 #License: GNU/GPL - +#------------------------------------ +# import des modules wx +#------------------------------------ from wx.lib import sheet +# utilisé seulement dans layout.py + class MySheet(sheet.CSheet): + def __init__(self, parent): sheet.CSheet.__init__(self, parent) self.parent=parent @@ -26,4 +31,4 @@ class MySheet(sheet.CSheet): self.SetNumberCols(ncol) for y in range(0,nrow): for i in range(0,ncol): - self.SetCellValue(y,i,str(content[y][i])) \ No newline at end of file + self.SetCellValue(y,i,str(content[y][i]))