UnicodeDecodeError

Fredrik Lundh fredrik at pythonware.com
Thu Dec 1 16:51:39 EST 2005


"ash" wrote:

> If you dont mind, I have another question for you. I use wxPython for
> GUI development. When i use a string containing "&" character as a
> label for statictext, the "&" does'nt appear.It is replaced by a short
> _. I have tried different encodings but have no success. what should i
> do so that "&" appears on screen?

I don't use wxPython, but & is commonly used by GUI toolkits to place
an underscore under a menu choice, to indicate what hotkey to use
for that menu choice.  e.g. "&Save" or "E&xit".

I don't know how to escape that in wxPython.  it might be a good idea
to post your question on some wxpython mailing list:

    http://www.wxpython.org/maillist.php

</F>






More information about the Python-list mailing list