[PythonCE] exception in Tkinter callback?

Info4HiDeVis info4hidevis at gmx.de
Fri Dec 30 15:21:35 CET 2005


hello,
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']
L=iter(l)
for i in range(len(l)):
  elem = L.next()
  print str(i) + ': ' + elem

x=input('testprogram has done...')
#============================
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...


th


More information about the PythonCE mailing list