Anthony Lenton <[EMAIL PROTECTED]> wrote:

> It seems like the keycodes the application receives
> when running interpreted and compiled differ;
> something as short as
>
> from Tkinter import *
> root = Tk()
> def onKey(event):
>     print "char: ", event.char
>     print "Keycode: ", event.keycode
>     print "Keysym: ", event.keysym
> root.bind("<Key>", onKey)
> mainloop()
>
> shows different results (at least on my machine) when
> running before and after compiling it.
> I'm using PyInstaller 1.0 on Windows 98 with python
> 2.3.
> Should I provide more information?
> Does the problem lie elsewhere?

Actually, I have no clue, because I don't use Tkinter :)

1) Does TkInter use an external library of some sort to decode unicode
input?
2) Do all the fields in your "event" object above change, or just some of
them?
3) Does Python standard unicode encode/decode work correctly?

> Will I ever be able to tête-à-tête with María
> Cersósimo?

Good question :)
-- 
Giovanni Bajo

_______________________________________________
PyInstaller mailing list
[email protected]
http://lists.hpcf.upr.edu/mailman/listinfo/pyinstaller

Reply via email to