[PythonCE] Q: still problem with Tkinter

Isr Gish isrgish at fastem.com
Sun Jul 18 21:40:18 CEST 2004

-----Original Message-----
   >From: "Ralf Ackermann"<rac at KOM.tu-darmstadt.de>
   >Sent: 7/18/04 9:46:32 AM
   >To: "pythonce at python.org"<pythonce at python.org>
   >Cc: "Ralf Ackermann"<rac at KOM.tu-darmstadt.de>
   >Subject: [PythonCE] Q: still problem with Tkinter
   >even though I have followed the thread on the options for installation of 
   >the newest (2.3.4, downloads as of 7/12/04) Python for ARM distriution - 
   >unfortunately I still fail to use TKinter (gives me a failure with the
   >from Tkinter import * already).

   >What do I miss? Any hint from somebody who suceeded with Tkinter usage
   >(either in interactive mode or from a .py source) would be very helpful.

You need to add to sys.path the directory where the Tkinter.pyc is located. Andlthat is:
'\\Program Files\\Python\\lib\\Python23.zp\\lib-tk'

You should add it with "sys.path.append()"

After I wrote this I relized that you unziped the files. So in that case the folder to append to sys.path should be.
'\\Program Files\\Python\\lib\\lib-tk'

All the best,

   >Best regards
   > Ralf
   >Dr. Ralf Ackermann            _         rac at KOM.tu-darmstadt.de
   >Multimedia Communications |/ | | |\/|           Merckstrasse 25
   >                          |\ |_| |  |  64283 Darmstadt, Germany
   >Tel.: (+49) 6151 16-6138                Fax: (+49) 6151 16-6152
   >             http://www.kom.tu-darmstadt.de/~rac
   >PythonCE mailing list
   >PythonCE at python.org

More information about the PythonCE mailing list