[PythonCE] exception in Tkinter callback?
mike at pcblokes.com
Fri Dec 30 15:31:02 CET 2005
> i have wrote a small test.py. But if i runs this proggy i've got an
> exception in Tkinter callback.
> My program look so:
> print 'Hello World'
> print '-------------'
> print 'testprogramm for PythonCE...'
> l=['a', 'b', 'c', 'd']
> for i in range(len(l)):
> elem = L.next()
> print str(i) + ': ' + elem
> x=input('testprogram has done...')
PythonCE doesn't have 'input' or 'raw_input' - that's why you get the
It's because the console is implemented differently (wrongly/not at all
?) on Windows CE.
All the best,
> The program doing his work and then this error message is given:
> There has been error during execution
> Exception in Tkinter callback
> Traceback (most recent call last):
> File "binaries\lib\lib-tk\Tkinter.py", line 1345, in__call__
> File "\MyDocuments\Downloads\IdleCE.py", line 190, in run
> exec code in vanilla
> File ">string>", line 12 in ?
> EOFError: EOF when reading a line
> I unable to find the folder how is stored the Tkinter.py and with the
> Search-Program i don't find the Tkinter.py-file. What's that?
> Now i've analysed the zip-file Python-2.3.4-arm-PPC2003.zip and found
> another zip-file in this one.
> what should i doing with this zip, then in this is the Tkinter.py stored...
> PythonCE mailing list
> PythonCE at python.org
More information about the PythonCE