[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
> Script terminated.
This has nothing to do with wx, you just don't use "self" if you're
_calling_ a method. So:

def create_grid():
    win = Grid_MegaExample.MegaTable(data, colnames, pugins)
    win.Show(True)

should get you to the next error ;)

cheers
 paul

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to