Hello,
I want to develop a Windows Mobile application with Python and Tkinter (because it doesn't seem that other guy have been ported). I'm working on a Wm 5.0 pda, hp rx1955, using the pythonce 2.5 release with integrated python.
When i try to get this simple code running i get this result: python shell close itself without giving any error.
that's the code:
-
#!python
-
#HelloWorld.py
-
import sys
-
sys.path.append('\\Program Files\\Python\\Lib\\python25.zip\\lib-tk')
-
import Tkinter
-
root = Tkinter.Tk()
-
l = Tkinter.Label(root, text="Hello, world!\nTkinter on PocketPC!\nSee http://pythonce.sf.net.")
-
b = Tkinter.Button(root, text='Quit', command=root.destroy)
-
l.pack()
-
b.pack()
-
root.mainloop()
-
The first time I try to import Tkinter i get that msg: Error Could Not Find CeLib DLL. But if i try the code another time it seems to work until the window disappears
Thanks, luke14free