wxPython - wx package (new style wxPython?)

Logan logan at phreaker.nospam
Tue Nov 25 19:01:59 EST 2003


Would you recommend to use the wx package of wxPython?

>From the documentation:

  Provides a way to drop the wx prefix from wxPython objects by
  dynamically loading and renaming objects from the real wxPython
  package.  This is the first phase of a transition to a new style
  of using wxPython.  For example:
                                                                                
      import wx
      class MyFrame(wx.Frame):
      ...
                                                                                
  instead of:
                                                                                
      from wxPython.wx import *
      class MyFrame(wxFrame):
      ...

What does 'this is the first phase of a transition to a new style
using wxPython' in the above mean? Will this new style become the
only way to use wxPython in future releases?

Thanks in advance for any answers.

-- 
mailto: logan at phreaker(NoSpam).net





More information about the Python-list mailing list