Re: [PythonCE] Python 2.5 for Windows CE / ARM

2006-10-26 Thread Ed Blake
I've dusted off (and recharge) my old ipaq after it had lain idle for months after its last crash. I've been testing out this new release of PythonCE and it is looking very good! First thing I did was move it to my storage card and run my modified setup script to get py/pyw files associated and

Re: [PythonCE] Fwd: IdleCE problem: No module named Tkconstants

2006-04-20 Thread Ed Blake
Yeah, I was going to post about what I did to get IdleCE working when I moved to Python 2.4, but I was lazy and didn't want to say anything stupid. Basically paths are setup correctly on PythonCE 2.4, but none of the Tkinter .py files are included. Just copy everything from /lib/Tkinter on your

Re: [PythonCE] Problem calling python

2006-04-12 Thread Ed Blake
I've been wondering about that. Don't you get the full path to a script when it is run? Otherwise how would Python know where to find the file it's supposed to execute? How can you open a file without knowing where it is? And if you do know where a script is being run from - shouldn't that be

Re: [PythonCE] Running Python program without getting Python CE window

2006-03-02 Thread Ed Blake
--- Thomas Heller <[EMAIL PROTECTED]> wrote: > > I've lost the original email, butI hope this is still on topic: > > Now that ctypes works on WindowsCE, someone should revive the venster > project! > > http://venster.sourceforge.net/htdocs/ > Very cool project, I've been thinking for a while

Re: [PythonCE] Running Python program without getting Python CE window

2006-03-02 Thread Ed Blake
--- "Michael Foord" <[EMAIL PROTECTED]> wrote: > You ought to check out Wax. It's a friendly Pythonic layer that sits > atop of wx and IMHO is just as easy to use as Tkinter. Lol! I've been using/tinkering with firedrop for a few weeks now so I am vaguely familier with wax. I don't really like

Re: [PythonCE] IdleCE

2006-03-01 Thread Ed Blake
--- [EMAIL PROTECTED] wrote: > > where is the content of the zip file best stored? > in the folder? > /storage card/python/ > > and what should go in the folder: > /storage card/python/lib > I have a folder on my storage card called 'scripts', and under that a folder for IdleCE. The editor.p

[PythonCE] IdleCE

2006-02-23 Thread Ed Blake
I've finally gotten irritated enough to fix some of the problems with the last version of IdleCE. I disabled coloring triple quotes because the solution I came up with was mind-numbingly slow on large docs, and still didn't work in all cases. I also fixed problems block operations (indent/dedent

[PythonCE] IdleCE (or how I develop for WinCE)

2006-01-16 Thread Ed Blake
I've taken a little time to rewrite large portions of my Idle for CE. Get it here: http://kitsu.petesdomain.com/files/WinCE/IdleCE-2.0b.zip And the LEO document: http://kitsu.petesdomain.com/files/WinCE/IdleCE.leo New features: Major code reorginization (editor in separate module) Bett

Re: [PythonCE] wxpython for ppc

2005-08-30 Thread Ed Blake
You could probably find it by searching through the list archive, or by googling it, but since things like this usually disappear at inopertune moments I have a collection of PythonCE stuff stored here: http://kitsu.petesdomain.com/files/WinCE/ --- DJL <[EMAIL PROTECTED]> wrote: > do any body kn

[PythonCE] IdleCE oops

2005-07-21 Thread Ed Blake
Links should be: http://kitsu.petesdomain.com/files/WinCE/IdleCE.py http://kitsu.petesdomain.com/files/WinCE/IdleCE.leo ___ PythonCE mailing list PythonCE@python.org http://mail.python.org/mailman/listinfo/pythonce

[PythonCE] IdleCE v1.0a

2005-07-21 Thread Ed Blake
It's been a while since I messed with this thing, but yesterday I opened up my outline and had a look around. Before I knew it I had fixed some problems and coded most of the features in the todo list. I also discovered that the code is kind of a mess. In fact I think Leo is the only reason I wa

[PythonCE] A PythonCE package

2005-07-03 Thread Ed Blake
I've created a kind of PythonCE package. It is the zip file from the lib dir with a few extra things add. Namely the Twisted framework and xml support. Links to downloads are at the bottom, and an explanation of methods and motivations follows: I've been playing around with network stuff recent

[PythonCE] Tiny alteration to event-check

2005-02-07 Thread Ed Blake
Tab delimited columns so the results are readable.import sys for p in sys.path: if p[-12:].lower() == "python23.zip": sys.path.append(p + "\\lib-tk") break from Tkinter import * import tkMessageBox def lister(event): text.insert(INSERT, '%s\t%s\t%s\t%s\n' %(event.keycode,ev

Re: [PythonCE] IdleCE Feature Request

2005-02-07 Thread Ed Blake
--- Michael Foord <[EMAIL PROTECTED]> wrote: > A couple of feature requests. The first of which isn't straightforward - > but would be nice. > > 1) Get IdleCE to use the windows clipboard for cut/copy/past operations. > At the moment it's not possible to copy and paste into IdleCE from other

[PythonCE] More on Tkinter canvas

2005-02-04 Thread Ed Blake
I've gotten curious about the Tkinter canvas widget now. I haven't had enough time to really play with it but I do have access to some great examples. Attached is my favorite example from the /demos/tkinter/matt directory slightly modified to run on WinCE. Also here is a url where you can get th

[PythonCE] One more thing...

2005-02-03 Thread Ed Blake
I just remembered this, its a tiny script for checking what (keyboard) events your Tkinter app is recieving.import sys for p in sys.path: if p[-12:].lower() == "python23.zip": sys.path.append(p + "\\lib-tk") break from Tkinter import * import tkMessageBox def lister(event):

[PythonCE] IdleCE Major bug!!!

2005-02-03 Thread Ed Blake
This is a silly thing to miss but it didn't cause ant kind of exception or overt problem. Twice in a row I have tried to edit IdleCE in IdleCE and both times after saving and closing I found that IdleCE would no longer run. Finally today I decided to track down the bug. I copied my malfunctionin

Re: [PythonCE] PythonCE app idea

2005-02-03 Thread Ed Blake
--- Stewart Midwinter <[EMAIL PROTECTED]> wrote: > I've been looking for a small graphics app for Windows Mobile that can > do vector graphics and I can't find any, only one full-featured app > that costs $45. It occurs to me that Tkinter might be a good tool for > building such an app. Using t

[PythonCE] IdleCE new version

2005-01-24 Thread Ed Blake
I've finally finished enough improvements to release another version. This version fixes a number of bugs related to the edit/popup menus and their commands. Also the addition of a button to execute the current script(!), better tab control (i.e. tab denotes a column of fixed width). There are s

[PythonCE] OSCE links

2005-01-17 Thread Ed Blake
Telion's homepage: http://pages.ccapcable.com/lac/PythonCE.html Look toward the bottom of the page for "Extra .py files" it takes you to a directory listing. get the os.py and osce.py files (and anything else that looks interesting). ___ PythonCE mail

Re: [PythonCE] launch external application from pythonCE

2005-01-13 Thread Ed Blake
Also you may need to specify the path to the target application as WinCE has no concept of an environment. --- Stewart Midwinter <[EMAIL PROTECTED]> wrote: > Darn, I forgot my PDA at home so I can try this out. My suggestion > would be to see if os.system() is available, and use that. If Pocket

[PythonCE] More Idle distractions

2005-01-07 Thread Ed Blake
Okay, I've spent some more time playing with this program. There are a bunch of changes but the biggest is probably my switch from IDLE to LEO for development. I don't want to proselytize too much but Leo is a great tool. It allows you to easily organize a large amount of data, notes, example, a

[PythonCE] Mini IDLE update and response.

2005-01-04 Thread Ed Blake
I've managed to get popup menus that work. Highlight some text, tap the selection and a menu will appear. It is equivalent to the edit menu/window but seems to work better for cut/copy. I have a problem with this though on my own device (HP Ipaq, WinCE 2003). When I try to highlight text the se

[PythonCE] Minature IDLE for PythonCE

2004-12-30 Thread Ed Blake
Something fun, and maybe usefull. Since popup-menus work I will probably move most of the edit menu there.#IdleCE import sys sys.path.append('\\Program Files\\Python\\lib\\Python23.zip\\lib-tk') import sys import os import re from Tkinter import * import tkMessageBox import tkFileDialog import