New to Python, WxPython etc, etc
Max Erickson
maxerickson at gmail.com
Tue Jan 3 12:02:18 EST 2006
"rodmc" <rodmc at userpro.com> wrote in news:1136299565.613252.202670
@g44g2000cwa.googlegroups.com:
> import _gaim
> import wx
>
> from wxPython.wx import *
>
> ID_ABOUT = 101
> ID_EXIT = 102
>
> class MyFrame(wxFrame):
> def __init__(self, parent, ID, title):
I don't have an answer to your question, but as an aside, you should
think about using the wx namespace if you move forward with wxPython.
Basically, you would just eliminate 'from wxPython.wx import *' as you
are already importing wx. Then, instead of referring to wxFrame, you
would refer to wx.Frame.
See:
http://www.wxpython.org/MigrationGuide.html#the-wx-namespace
for more information about this.
Max
More information about the Python-list
mailing list