[PythonCE] exception in Tkinter callback?

Michael Foord mike at pcblokes.com
Fri Dec 30 15:47:55 CET 2005


Info4HiDeVis wrote:
> Ok, good to know. But the 2nd question stand still in the room.
> In witch folder i have to expand the zipfile Python-2.3.4-arm-PPC2003.zip .
> In this zip i found the Tkinter.py   8-|
> 

The Python executable imports modules *from* the Zip file. (So don't
unzip it).

In my distribution I have :

/Program Files/Python/python23.zip

Plus lots of other files ('.pyd's and python.exe) in the Python directory.

It sounds like your distribution is now running if you can run IdleCE.

All the best,

Fuzzyman
http://www.voidspace.org.uk/python/index.shtml

> th
> 
> Michael Foord schrieb:
> 
> 
>>Info4HiDeVis wrote:
>> 
>>
>>
>>>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...')
>>>   
>>>
>>
>>PythonCE doesn't have 'input' or 'raw_input' - that's why you get the
>>EOF error.
>>
>>It's because the console is implemented differently (wrongly/not at all
>>?) on Windows CE.
>>
>>All the best,
>>
>>Fuzzyman
>>http://www.voidspace.org.uk/python/index.shtml
>>
>> 
>>
>>
>>>#============================
>>>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
>>>_______________________________________________
>>>PythonCE mailing list
>>>PythonCE at python.org
>>>http://mail.python.org/mailman/listinfo/pythonce
>>>
>>>
>>>
>>>   
>>>
>>
>>
>> 
>>
> 
> _______________________________________________
> PythonCE mailing list
> PythonCE at python.org
> http://mail.python.org/mailman/listinfo/pythonce
> 
> 
> 



More information about the PythonCE mailing list