[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gnumed-devel] why wxpython/* is not
From: |
Horst Herb |
Subject: |
Re: [Gnumed-devel] why wxpython/* is not |
Date: |
Sun, 18 Jul 2004 13:17:50 +1000 |
User-agent: |
KMail/1.6.2 |
On Sun, 18 Jul 2004 12:07, Karsten Hilbert wrote:
> How do you deal with all the renamings, eg.
>
> wxPython.wx.wxPanel now being wxPython.wx.Panel etc ?
>
> Do you always import just what you need using ... as ... ?
The wx namespace existed since version 2.3, so I was using it
I always hated the from xyz import * since it pollutes name spaces
import wx
wx.EVT ...
works with both old and new, instead of
from wx import *
wxEVT ...
which works only with old.
Horst