Re: Namespace troubles

2007-11-16 Thread barronmo
Mike and Alan, thanks very much, working fine now. I'll review the classes references too. Mike -- http://mail.python.org/mailman/listinfo/python-list

Re: Namespace troubles

2007-11-16 Thread kyosohma
On Nov 16, 2:51 pm, barronmo <[EMAIL PROTECTED]> wrote: > I'm new to programming and new to Python; namespace issues are getting > the best of me. Can someone help me with the following: > > import wx > import sys > sys.path.append('~/PyPrograms/EMRGUI') > import Selectable > > class MyApp(wx.App)

Re: Namespace troubles

2007-11-16 Thread Alan
> class MyFrame(wx.Frame): > def __init__(self, parent, id, title): > wx.Frame.__init__(self, parent, id, title, size=(600,500)) > > nb = wx.Notebook(self) > self.page1 = Form1(nb, -1) > nb.AddPage(self.page1, "Choose Patient") > self.page1.SetFocus() >

Namespace troubles

2007-11-16 Thread barronmo
I'm new to programming and new to Python; namespace issues are getting the best of me. Can someone help me with the following: import wx import sys sys.path.append('~/PyPrograms/EMRGUI') import Selectable class MyApp(wx.App): def __init__(self): wx.App.__init__(self) frame =