Re: [PythonCE] Shelve -- has anyone used it successfully?

2004-12-08 Thread Michael
There's a pure python database called kirbybase you could try. If csv doesn't work I've done a module called listquote that would work. Regards, Fuzzy http://www.voidspace.org.uk/atlantibots/pythonutils.html -Original Message- >From: "Ron Phillips"<[EMAIL PROTECTED]> >Sent: 08/1

Re: [PythonCE] Shelve -- has anyone used it successfully?

2004-12-08 Thread Michael Foord
There's a pure python database called Kirbybase that might be worth looking into. If csv doesn't work I've written a python module called listquote that has csv functions. Regards, Fuzzy http://www.voidspace.org.uk/atlantibots/pythonutils.html Ron Phillips wrote: Ok, Mark, thanks -- I've just a

Re: [PythonCE] Whose got the latest patches?

2004-12-17 Thread Michael Foord
Wasn't there a sourceforge project setup ? Isr Gish wrote: Brad Clements wrote: > >I'm thinking of porting Python 2.4 to the Pocket PC. > >Whose got the latest patches for Python 2.3? > I think they can be found at: http://www.validus.com/~kashtan All the best, Isr > > >-- >Brad

Re: [PythonCE] wxPython on CE

2004-12-17 Thread Michael Foord
Congratulations Brian. It looks like it *might* soon be possible to develop real applications for the PocketPC using Python. A database and a GUI. Regards, Fuzzy http://www.voidspace.org.uk/atlantibots/pythonutils.html Brian Retford wrote: I nearly killed myself doing so, but I have a largely

Re: [PythonCE] Re: wxPyCE

2004-12-29 Thread Michael Foord
PPC2002 is fine and Tkinter/PythonCE will work fine. I don't know about wxce though. Regards, Fuzzy http://www.voidspace.org.uk/python/index.shtml Ron Phillips wrote: Yep, I was grasping at the illusion of a straw. I didn't realize that the "new" PocketPC I was issued was ppc2002. I'm not even s

Re: [PythonCE] gadfly or SnakeSQL on PythonCE?

2004-12-31 Thread Michael Foord
I thought gadfly was C based ? Have you compiled it for WindowsCE ? SnakeSQL is pure python and *could* work... what errors are you getting ? Regards, Fuzzy Roman Bischoff wrote: Hi I'm new to Python and new to PythonCE. However, it runs on my iPaq now. I try to run Gadfly or SnakeSQL on it. I went

Re: [PythonCE] Minature IDLE for PythonCE

2004-12-31 Thread Michael Foord
Ed Blake wrote: Something fun, and maybe usefull. Since popup-menus work I will probably move most of the edit menu there. Well it certainly looks good on the desktop ! If I can get this working on my PPC then it will be *so* much nicer to use than pocket notepad. MANY, MANY, MANY thanks for

Re: [PythonCE] Mini IDLE update and response.

2005-01-05 Thread Michael Foord
Hello Ed, is great - it's the first useful python app. for windows CE that I've seen - awesome. MANY MANY thanks for your work. It's been such a pain coding with pocket notepad ! I've noticed the problem with selection as well - I guess it's a problem with the WinCE port of Tk. The best you can

Re: [PythonCE] Mini IDLE update and response.

2005-01-06 Thread Michael Foord
le while though, once I incorporate these changes into the program it will be much nicer and more usable. Anyway thanks for the response. I will try to keep improving this as much as I can, but others are welcome to play with/improve it too. --- Michael Foord <[EMAIL PROTECTED]> wrote: H

Re: [PythonCE] launch external application from pythonCE

2005-01-14 Thread Michael Foord
Geir Egeland wrote: Hi, The error message i get using os.system(cmd) is : AttributeError: 'module' object has no attribute 'system' So, this doesn't seem to work... Doing a help(os) does not show the 'system' command under available functions. Any other suggestions? Some of the exec* options are

[PythonCE] osce.py

2005-01-17 Thread Michael Foord
I found an archived email with osce.py at : http://mail.python.org/pipermail/pythonce/2002-October/000246.html I used the base64 encoding to extract the plaintext of the

Re: [PythonCE] osce.py

2005-01-17 Thread Michael Foord
Michael Foord wrote: I found an archived email with osce.py at : http://mail.python.org/pipermail/pythonce/2002-October/000246.html Please ignore the proxy url here - you won't be able to use it anyway. The proper address is just : http://mail.python.org/pipermail/pythonce/2002-October/0

Re: [PythonCE] IdleCE new version

2005-01-28 Thread Michael Foord
James Burkert wrote: Hi Ed, I've got a small request on your new version. It looks great! But, I can't seem to navigate into any subfolders from the open/save menus. The dialog seems to have the same trouble a lot of other programs have on my iPAQ 2215, by default they don't allow too many subfolde

Re: [PythonCE] Screen size?

2005-02-04 Thread Michael Foord
Miles Lubin wrote: I'm just playing around and trying to get my python program to work on my pocket pc. It's working great after using the input function posted on this list in september, Which function was that ? I'm interested in getting a version of raw_input - I know Isr posted something,

Re: [PythonCE] Screen size?

2005-02-04 Thread Michael Foord
Miles Lubin wrote: Oops :) I was using the python for HPC-2000 :) Why isn't the pocketpc version on sourceforge? I don't know who maintains the sourceforge site. Michael: I'm using the input function from http://mail.python.org/pipermail/pythonce/2004-September/000762.html. It&#

Re: [PythonCE] line-endings problem with PythonCE

2005-02-07 Thread Michael Foord
This is because many python files are saved with UNIX line endings instead of windows ones. The easiest solution is simply to get python to open them and then write them back out again. handle = open(filename, 'r') thefile = handle.read() handle.close() open(filename, 'w')..write(thefile) will

[PythonCE] IdleCE Feature Request

2005-02-07 Thread Michael Foord
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 applications. This would mean finding the right function

Re: [PythonCE] IdleCE Feature Request

2005-02-08 Thread Michael Foord
Ed Blake wrote: --- 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

Re: [PythonCE] Qt for Windows now to be LGPL

2005-02-09 Thread Michael Foord
Stewart Midwinter wrote: Says so here: http://www.trolltech.com/newsroom/announcements/0192.html They will release sources, but you have to compile yourself. So, does that mean it could be compiled for Windows Mobile? Would that be a Good Thing or a Bad Thing? cheers, Still GPL is better t

[PythonCE] UnicodeDecodeError with print

2005-03-14 Thread Michael Foord
I am wondering if anyone knows the reason as to why : print u'£' should cause a UnicodeDecodeError on pythonce ? (The usual 'ascii codec cannot decode character...' message). Obviously the '£' character is a non-ascii character. I am just surprised that the print statement is using the ascii enc

Re: AW: [PythonCE] UnicodeDecodeError with print

2005-03-15 Thread Michael Foord
learned yesterday). Thanks for the reply though... Regards, Fuzzy http://www.voidspace.org.uk/python/index.shtml All the best, Isr -Original Message- >From: "[EMAIL PROTECTED]"<[EMAIL PROTECTED]> >Sent: 3/14/05 1:06:50 PM >To: "Michael Foord&q

Re: AW: [PythonCE] UnicodeDecodeError with print

2005-03-15 Thread Michael Foord
ccess this functionality from pythonce ? I don't *need* to, I'm only curious. Regards, Fuzzy http://www.voidspace.org.uk/python/index.shtml [EMAIL PROTECTED] wrote: Hello Michael, this can happen with "normal" Python as well, try this running python.exe directly. The issue is not th

[PythonCE] How to execute a scipt on Python startup

2005-04-12 Thread Michael Murdock
whenever Python starts up? Thanks, ~Michael. ___ PythonCE mailing list PythonCE@python.org http://mail.python.org/mailman/listinfo/pythonce

Re: [PythonCE] How to execute a scipt on Python startup

2005-04-13 Thread Michael Murdock
On 4/13/05, Michael Murdock <[EMAIL PROTECTED]> wrote: > Is there a way to have a Python script executed whenever Python starts up? On 4/12/05, Mark Doukidis <[EMAIL PROTECTED]> wrote: >> Try placing your code inside "sitecustomize.py". >> This is run every

[PythonCE] My PythonCE Directories

2005-04-13 Thread Michael Murdock
following questions: 1. Are my 4 directory structures a pretty standard setup? 2. Is my sitecustomize.py script the best way to set up my paths? 3. What do I have to do to move tcl8.4.3 from the root out onto my storage card? Thanks! ~Michael. --- #1 Python Distribution on St

Re: [PythonCE] wxPython for CE

2005-04-23 Thread Michael Foord
Brian Retford wrote: It's that time again - I've made a lot of progress on reducing the footprint of my wxPython CE port, I'm working on getting the source code integrated to the mainline, here's an x-post from the wxPython dev list - any interest? It sounds very interesting. Is it only comp

Re: [PythonCE] Python 2.3.4 for StrongARM Pocket PC 2003

2005-04-23 Thread Michael Foord
Kim Ollivier wrote: I have downloaded this and have got some parts working. I can get IDLE to run tkinter-test and sometimes my own hello world script. I am confused about what to expect in Wince compared to Windows. I have trouble getting from IDLE to the shell and back without a long route throu

Re: [PythonCE] WinCE environment for Python?

2005-04-25 Thread Michael Foord
A very quick and partial response Kim, Yes - Tkinter is the only reliable way of getting user input on PythonCE. There are floating around some old routines that mimic stdin, they probably *could* be used to make a ``raw_input`` work.. but I don't think anyone has done the work on this. Best Re

[PythonCE] Re: PythonCE Digest, Vol 21, Issue 6

2005-04-25 Thread Michael Murdock
typed-in arguments but converts it to an integer or float, if necessary. Like I said, It's pretty lame. But I use it a lot on my Axim. ~Michael. # --- # cmdline.py # Michael Murdock # # This code uses Tkinter's Entr

[PythonCE] win32process for Validus PythonCE 2.3.4 distribution?

2005-05-06 Thread Michael Murdock
win32event, and win32gui. Thanks, ~Michael. ___ PythonCE mailing list PythonCE@python.org http://mail.python.org/mailman/listinfo/pythonce

Re: [PythonCE] Success: PyExpat build

2005-06-02 Thread Michael Foord
Ischebeck, Jan wrote: >Hi, > >after some trying I could build PyExpat without any patches. The changed >Makefile can be found at the sf project. > > > Cool. Any chance of uploading some binaries ? (Specifically for PPC 2002) :-) >Does anyone knows how to build win32ui? I want to access the mf

[PythonCE] Jornada 820

2005-08-16 Thread Michael Foord
Hello All, I've just acquired (and am enjoying using) a Jornada 820. This has 32mb of ram and 200mhz StrongArm processor (very good for it's day) - but I believe runs Windows CE 2.11. Does anyone know which is the latest version of PythonCE to run on it ? It looks like the binaries at http://sou

Re: [PythonCE] serial port

2005-09-02 Thread Michael Foord
Angel Perea wrote: > Does anybody know if now it's possible to access the serial port using > python? I've searched the web a couple of times with no success at > all. > I've never seen anything like this for PythonCE. There is PySerial for the desktop - but communicating with PDA hardware would

[PythonCE] COmpiling Python 1.5.2

2005-09-02 Thread Michael Foord
Hello All, I'm still trying to get a working version of Python for my Jornada device running Windows 2.11. It has a StrongARM processor - which is unusual for a device running 2.11. There is a version of Python 1.5.2 for WindowsCE 2.11. (Created by Mark Hammond). Unfortunately the installer onl

Re: [PythonCE] PythonCE Digest, Vol 26, Issue 8

2005-09-30 Thread Michael Murdock
>> After this I get the error _winreg  DLL load failed, although it is in the same directory. I have Python 2.3.4 running on my Axim X30 from the Built-in Storage. The following is a transcript of the results I get running the commands you mentioned. Where do you have Python installed?

Re: [PythonCE] Winhandle problem with tkinter

2005-10-19 Thread Michael Foord
Andrew Booth wrote: > I’m writing an application using tKinter as the GUI. It seems to work > OK, but after a while I keep getting the message ‘No more winhandle > slots’. It seems to be appear immediately before dialogs appear on the > screen. I’m careful to destroy the dialogs when I remove them

Re: [PythonCE] PocketPC Python 2.3? and Shtoom

2005-10-20 Thread Michael Foord
Mike Klein wrote: > When might a 2.3 release be available and does 2.2 support Pocket PC > audio devices (spkr/mic)?? > > Shtoom (voip client) is the thought here...it requires 2.3. > Python 2.3 is available for PocketPC : http://fore.validus.com/~kashtan/ No idea if shtoom will work :-) I per

Re: [PythonCE] PythonCE Summary

2005-11-03 Thread Michael Foord
Edward Fewell wrote: > I put together a quick page linking the various versions of PythonCE that > are floating out there. > > http://www.traybor.com/PythonCE/ > That's great. You could include the wxPython distribution - which includes Python. I couldn't get the wxPython dll's running, so may

Re: [PythonCE] PythonCE Summary

2005-11-03 Thread Michael Foord
Edward Fewell wrote: > << http://kitsu.petesdomain.com/files/WinCE/ > (Lot's of other interesting stuff there - including a usable 'port' of IDLE) > > > Thanks for the info. > > I updated the site to include the wxPython link. I tried out IdleCE.py and > it appears to run under the Validus 2.3

Re: [PythonCE] Developing Python code for Windows Mobile

2005-11-28 Thread Michael Foord
Jeffrey Barish wrote: > I am wondering how people set up their systems to develop Python (or any) > code > for Windows Mobile. When I developed an application for the Sharp Zaurus > (which runs Linux), I was able to run VNC server on the Zaurus. That way, I > could do all my typing (and viewi

Re: [PythonCE] PythonCE on the ARM emulator

2005-12-16 Thread Michael Foord
Thomas Heller wrote: > Since Luke Dunstan has ported ctypes to windows CE, so I got interested > in this platform. I don't have a Windows CE device, but I found the MS > Device Emulator (1.0, Community Preview): > > http://msdn.microsoft.com/mobility/windowsmobile/downloads/emulatorpreview/defaul

Re: [PythonCE] PythonCE on the ARM emulator

2005-12-16 Thread Michael Foord
Thomas Heller wrote: > Michael Foord <[EMAIL PROTECTED]> writes: > > >>Thomas Heller wrote: >> >>>Since Luke Dunstan has ported ctypes to windows CE, so I got interested >>>in this platform. I don't have a Windows CE device, but I found

Re: [PythonCE] Editor for WinCE

2005-12-30 Thread Michael Foord
Info4HiDeVis wrote: > Hello, > i'm searching for a small text-editor for winCE, but i havn't found someone. > Have anybody a tip witch program are good for editing into winCE ? > Hmmm.. I use Pocket Notepad. :-) It doesn't do indentation though. Pocket IDLE is ok - but I can't get it to share it'

Re: [PythonCE] exception in Tkinter callback?

2005-12-30 Thread Michael Foord
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']

Re: [PythonCE] Editor for WinCE

2005-12-30 Thread Michael Foord
All the best, Fuzzyman http://www.voidspace.org.uk/python/index.shtml > > Michael Foord schrieb: > > >>Info4HiDeVis wrote: >> >> >> >>>Hello, >>>i'm searching for a small text-editor for winCE, but i havn't found someone. >>>Have anybod

Re: [PythonCE] exception in Tkinter callback?

2005-12-30 Thread Michael Foord
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/ind

Re: [PythonCE] Python 2.3.5 for Windows CE / ARM (Pocket PC 2003)

2006-01-05 Thread Michael Foord
[EMAIL PROTECTED] wrote: > Great! Thanks you for your efforts. > Ditto - works great for me. All the best, Fuzzyman http://www.voidspace.org.uk/python/index.shtml > >>Send PythonCE mailing list submissions to >> pythonce@python.org >> >>To subscribe or unsubscribe via the World Wide Web,

Re: [PythonCE] PythonCE Digest, Vol 30, Issue 5

2006-01-06 Thread Michael Murdock
KET PC 2003\Samples\Win32\Poommaster." You mentioned comtypes would need to be changed. What else would need to change to be able to access the POOM interfaces? Thanks, ~Michael. ___ PythonCE mailing list PythonCE@python.org http://mail.python.org/mailman/listinfo/pythonce

Re: [PythonCE] Unicode default encoding

2006-02-26 Thread Michael Foord
Luke Dunstan wrote: > - Original Message - > From: "Jeffrey Barish" <[EMAIL PROTECTED]> > To: > Sent: Friday, February 24, 2006 11:03 AM > Subject: [PythonCE] Unicode default encoding > > > >> What is the correct way to set PythonCE's default Unicode encoding? My >> reading (Python in

Re: [PythonCE] IdleCE

2006-03-01 Thread Michael Foord
Ed Blake wrote: > [snip..] >> did you manage to get wx running? >> >> > > I never really tried. Every time I look at Wx it goes the same way: > I check out the demos and am wowed by the great widgets/events/applications > it can handle, then I check out the code and find that it is obtuse, sp

Re: [PythonCE] IdleCE

2006-03-01 Thread Michael Foord
Brian Brown wrote: > On Mar 1, 2006, at 11:42 AM, Michael Foord wrote: > > >> Ed Blake wrote: >> >>> [snip..] >>> >>>> did you manage to get wx running? >>>> >>>> >>>> >>> I nev

Re: [PythonCE] PythonCE IDE and Form Designer in Development

2006-04-27 Thread Michael Foord
Eugene Klepikov wrote: > On Thursday 27 April 2006 17:41, The Head Guy wrote: > >> I am in the middle of creating a IDE and Form Designer to run on Windows >> CE. It is about 75% finished. Is there any interest in me releasing >> it?(unlike IDLE, it is not written in Python, but .NET CF v2.0) If

Re: [PythonCE] Tkinter PhotoImage, no such file or directory

2006-04-28 Thread Michael Foord
Patrick Kramer wrote: > I have two files which are both in the PyGlucoCE directory off of root. > > Tkintertest.py > BtnGluco.gif > > > > Here is my code: > > import sys > > sys.path.append('\\Program Files\\Python24\\python24.zip\\lib-tk') > sys.path.append('\\PyGlucoCE') > This appends the Py

Re: [PythonCE] Tkinter PhotoImage, no such file or directory

2006-04-30 Thread Michael Foord
Patrick Kramer wrote: > > >> You can tell Python using os.chdir(), but that will not necessarily have any >> effect on Tkinter because the operating system has no concept of a "current >> directory", so it depends on whether the image file is opened in the Python >> code or the C code. >> >> Lu

Re: [PythonCE] raw_input for pythonce ver 2.4.3 gives EOF Error

2006-05-14 Thread Michael Foord
Bandung wrote: > I seemed have gotten idlece working along with Tkinter and python works well > except for a few problems. The one that I would like to find a work around to > is with the input() and raw_input() commands. Both return an EOFError When > reading a line > > the line of code is > >

Re: [PythonCE] raw_input for pythonce ver 2.4.3 gives EOF Error

2006-05-18 Thread Michael Foord
Bandung wrote: > Thank you for this input. I suppose python ce also doesn't support the > launching of scripts with the > > python myscript.py -i %1 > > for the same reason. I tried creating a file extension *.pyi that called > the above command in order to circumvent the lack of a c

[PythonCE] Tk/Tcl Widgets

2006-05-18 Thread Michael Foord
Hello all, I wondered if you'd seen this : http://wiki.tcl.tk/8442 It's a GUI built with Tk/Tcl for the PocketPC. It certainly shows what is possible. :-) Fuzzyman http://www.voidspace.org.uk/python/shareware.shtml ___ PythonCE mailing list Pytho

Re: [PythonCE] Tk/Tcl Widgets

2006-05-19 Thread Michael Foord
Bandung wrote: > This is a nice find. I agree with you that it certainly shows what's > possible. Alas, but I have given my heart to Pythoning and I can't bear to > learn another language. > Actually, my point is that seeing as this is done with Tk - it ought to be possible with PythonCE !

Re: [PythonCE] Pyeditce Update

2006-07-22 Thread Michael Foord
The Head Guy wrote: > I forgot, the source is on the source forge page. > (sf.net/projects/pyeditce ) It looks very good. Next time I write something for use on my PDA I will use it. Nice one. Fuzzyman http://www.voidspace.org.uk/python/index.shtml > > On 7/22/

[PythonCE] Windows Mobile 5

2006-10-23 Thread Michael Foord
Hello all, Does PythonCE Microsoft Mobile System 5.0 Devices ? All the best, Fuzzyman http://www.voidspace.org.uk -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.408 / Virus Database: 268.13.9/490 - Release Date: 20/10/2006 __

Re: [PythonCE] Windows Mobile 5

2006-10-23 Thread Michael Foord
Michael Foord wrote: > Hello all, > > Does PythonCE Microsoft Mobile System 5.0 Devices ? > *oops* my apologies. Does PythonCE run on Microsoft Mobile System 5.0 Devices ? Thanks Fuzzyman > All the best, > > Fuzzyman > http://www.voidspace.org.uk > > >

Re: [PythonCE] Building under Visual Studio 2005 for Devices

2007-03-05 Thread Michael Foord
Christopher Fairbairn wrote: > Hi, > > I am keen to start contributing to the Windows CE/Windows Mobile port of > Python. I > have a lot of commerical development experience in this environment. > > I would like to understand the build process for Python in a lot more detail > than I > currentl

[PythonCE] How could I check free disk space?

2008-01-19 Thread Michael Seewald
, last but not least, I would like like to congratulate everybody who made this project possible. PythonCE runs like a charm on my Samsung SGH-i600 "Blackjack" (windows mobile 6). It was great to find even precompiled binaries for this phone! Thank you & kind regards, M

Re: [PythonCE] Comtypes installation problem...

2008-06-26 Thread Michael Foord
rent APIs to your WinCE device). You would have to recompile especially for WinCE, which would be 'difficult'. You are much better off using ctypes for PythonCE, which comes with the latest PythonCE 2.5 I believe. Michael Foord When i do a "import comtypes" to chec

Re: [PythonCE] Comtypes installation problem...

2008-06-26 Thread Michael Foord
Thomas Heller wrote: Michael Foord schrieb: David Goncalves wrote: Hi, I'm trying to install comtypes on Python 2.5 (2007-10 release). I've copied the "comtypes" folder to "Program files\Python25\Lib". That is part of the Win32 extensions for P

Re: [PythonCE] Comtypes installation problem...

2008-06-26 Thread Michael Foord
Thomas Heller wrote: Michael Foord schrieb: David Goncalves wrote: Hi, I'm trying to install comtypes on Python 2.5 (2007-10 release). I've copied the "comtypes" folder to "Program files\Python25\Lib". That is part of the Win32 extensions for P

[PythonCE] ceserial switch off problem

2009-05-31 Thread Michael Wack
x27;t help. Does anyone have an idea how to reestablish serial communication after reactivating the PDA without restarting the whole pythonce program? Thanks a lot for any answer! Sincerely, Michael ___ PythonCE mailing list PythonCE@pytho

Re: [PythonCE] Is PythonCE still active

2010-01-11 Thread Michael Sprayberry
d into developing the language. Michael ___ PythonCE mailing list PythonCE@python.org http://mail.python.org/mailman/listinfo/pythonce