Okay, my first question is about wxpython's registerhotkey.
As far as I can find, there are not letter key keycodes.
This example relies on the win32con module:
This function registers the hotkey Alt+F1 with id=100
self.hotKeyId = 100
win32con.VK_F1) -- I want to be able to replace this with a letter key. Is there any way to do that, or am I stuck with whatever keycodes are provided by win32con?
And my second question is completely unrelated. I am using os.system(command) to start command line commands. Would it be faster or more efficient if I used os.startfile(command.bat) where command.bat contains the commands, or maybe os.system('start command.bat')?