[wxpython-users] To Robin Dunn

Christopher Barker Chris.Barker at noaa.gov
Tue May 6 13:40:23 PDT 2008


Chester wrote:
> Andrea, I've tried  import wx; wx.CENTER  on the Windows version of 
> wxPython 2.8.7.1 <http://2.8.7.1> Unicode and it doesn't exist, i.e. it 
> spits '0'.

Then it does exist. It is simply a integer flag. If it didn't exist, 
you'd get:

Traceback (most recent call last):
   File "<stdin>", line 1, in <module>
AttributeError: 'module' object has no attribute 'CENTER'

This is what I get:
 >>> wx.CENTRE is wx.CENTRE
True

By the way, writing to Open Source developers with messages like: 
"Please change your library to be more how I'd like it" is unlikely to 
get you very far.

Try using it for a while, take part in the community, then, if you have 
ideas for real improvements, start be politely inquiring why it is done 
the way it is (there may be good reasons!), then work on and submit a patch.

Also: the odds are very good that the first few "bugs" you find are 
actually misunderstandings on your part -- assume that when you ask a 
question.

-Chris



-- 
Christopher Barker, Ph.D.
Oceanographer

Emergency Response Division
NOAA/NOS/OR&R            (206) 526-6959   voice
7600 Sand Point Way NE   (206) 526-6329   fax
Seattle, WA  98115       (206) 526-6317   main reception

Chris.Barker at noaa.gov


More information about the wxpython-users mailing list