When I use wx python to create a button with a file name as the button label, I lose the & character that is inside of the file names.
If a file were named: hello&goodbye.txt, the button would read: hellogoodbye.txt
I have no idea where the & character goes and would love a little help here.
The
&character is a special symbol for those kinds of buttons. It defines what key you press to use a keyboard shortcut.&x – [Alt]+[x] hotkey shortcut. You can escape it by using a second:
&&-> ‘&’ char