[PythonCE] Tkinter installation

2005-01-29 Thread Stewart Midwinter
I had PythonCE and Tkinter working on my PocketPC, but then suffered a hard reset. I decided to install them on the SD Card, but now I can't Python to find Tkinter. What am I doing wrong? I've got Python in \\SD Card\\Program Files\\Python\\Lib. I ran the Setup Registry shortcut (adjusting the pa

Re: [PythonCE] Tkinter installation

2005-01-29 Thread James Burkert
Hey Stewart, Finally something I can be helpful with! I have tcl8.4.3 in the root directory \My Device\, next to Windows, Program files, etc. It works just fine there. I guess its just because thats how tcl is referenced in some file or another. Out of curiosity, what did you need to change to g

Re: [PythonCE] Tkinter installation

2005-01-29 Thread Stewart Midwinter
to get Python to run on the SD card, I edited setup_registry.py and Setup Registry.lnk to point to the location on the SD card where the python.exe lives, i.e. \\SD Card\\Program Files\\Python\\Lib. To confirm that my registry was in fact set up correctly, I used Advanced Explorer, went into the R

Re: [PythonCE] Tkinter installation

2005-01-29 Thread Warren Focke
On Sat, 29 Jan 2005, James Burkert wrote: > Out of curiosity, what did you need to change to get Python to run > properly from your SD card? Stewart already posted how to get Python running off flash. You've still got the fact that python23.zip/lib-tk isn't in sys.path to deal with. I've seen

Re: [PythonCE] Tkinter installation

2005-01-29 Thread James Burkert
Yep, I saw that he did, he was kind enough to respond to my question. In order to get lib-tk in the sys.path, I just added sys.path.append('') to the bootup py script for Python 2.3.4, called pythonrc.py, located in \Temp\. This runs every time the interpreter starts, so I have not had trouble wit

Re: [PythonCE] Tkinter installation

2005-01-29 Thread Stewart Midwinter
On Sat, 29 Jan 2005 16:41:05 -0800 (PST), Warren Focke <[EMAIL PROTECTED]> wrote: > I hit on, which was to modify python23.zip to move the contents of lib-tk > up to the top level. what exactly were your modifications? you took the contents of the lib-tk folder inside python23.zip and moved the