Re: wx.grid question (trying to use code from Grid_Example.py)

2006-10-16 Thread paul
[EMAIL PROTECTED] schrieb: > To extend and revise my remarks my error is > > File "C:\Python24\Lib\site-packages\boa-constructor\test of > snake\csoundgrid.py", line 8, in create_grid > win = Grid_MegaExample.MegaTable(self, data, colnames, pugins) > NameError: global name 'self' is not defined >

Re: wx.grid question (trying to use code from Grid_Example.py)

2006-10-16 Thread Nick Craig-Wood
[EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > I am having trouble trying to reuse the code that was provided in the > wxdemo package of wxpython. I suggest you ask this question on the wxpython mailing list which has lots of very well informed contributors (not me - I'm just learning!). http

Re: wx.grid question (trying to use code from Grid_Example.py)

2006-10-15 Thread [EMAIL PROTECTED]
To extend and revise my remarks my error is File "C:\Python24\Lib\site-packages\boa-constructor\test of snake\csoundgrid.py", line 8, in create_grid win = Grid_MegaExample.MegaTable(self, data, colnames, pugins) NameError: global name 'self' is not defined Script terminated. http://www.dexrow.co

wx.grid question (trying to use code from Grid_Example.py)

2006-10-15 Thread [EMAIL PROTECTED]
I am having trouble trying to reuse the code that was provided in the wxdemo package of wxpython. The program I am trying to use parts of is Grid_MegaExample.py thier code is class MegaTable(Grid.PyGridTableBase): """ A custom wx.Grid Table using user supplied data """ def __init_