[PythonCE] python editor and tkinter

Isr Gish isrgish at fastem.com
Tue Aug 3 21:58:45 CEST 2004


Hi Ajay,


Ajay Wrote:
   >I couldn't use it. import Tkinter gave an error saying it couldn't find the
   >module. i looked in where i copied Tkinter, which was My Device/tcl8.4.3.
   >i looked in
   >My Device/tcl8.4.3/library and My Device/tcl8.4.3/tk8.4 and couldn't find
   >Tkinter.py
 
[snip]
   >any ideas what i am doing wrong.
   >
   >thanks heaps
   >

You need to add the folder that Tkinter.py is in, to your path in order for your module to find it.
If you installed Python in 'Proram Files\Python\lib', then add to your path:
"\Program Files\Python\lib\python23.zip\lib-tk', then it should work.

All the best,
Isr


   >cheers
   >
   >ajay
   >




More information about the PythonCE mailing list