From mailings at johnnydebris.net Thu Oct 9 05:55:50 2003 From: mailings at johnnydebris.net (Guido Wesdorp) Date: Thu Oct 9 05:56:20 2003 Subject: [PythonCE] wxPython for CE Message-ID: <3F8530A6.7040106@johnnydebris.net> Hello! In the archives of this list (december 2002) I found a posting from Brad Clements in which he says: 'I'm still waiting for wxWindows for CE to be released. When it does, I'll work on wxPython.' Since wxWindows for CE seems to be released, I was wondering if he still plans on doing so. It would be a great improvement on PythonCE to have a nice UI toolkit (as you may understand I'm not too fond of win32gui ;). Cheers, Guido Wesdorp From 239818 at delphi.com Thu Oct 9 22:38:25 2003 From: 239818 at delphi.com (239818@delphi.com) Date: Thu Oct 9 09:35:52 2003 Subject: [PythonCE] Sick of deleting spam email !? Spam Remedy kills all spam automatically! 239818 Message-ID: An HTML attachment was scrubbed... URL: http://mail.python.org/pipermail/pythonce/attachments/20031009/eb829309/attachment.html From bkc at murkworks.com Thu Oct 9 09:46:46 2003 From: bkc at murkworks.com (Brad Clements) Date: Thu Oct 9 09:51:33 2003 Subject: [PythonCE] wxPython for CE In-Reply-To: <3F8530A6.7040106@johnnydebris.net> Message-ID: <3F852F8D.18099.66337283@localhost> On 9 Oct 2003 at 11:55, Guido Wesdorp wrote: > Hello! > > In the archives of this list (december 2002) I found a posting from Brad > Clements in which he says: > > 'I'm still waiting for wxWindows for CE to be released. When it does, I'll > work on wxPython.' > > Since wxWindows for CE seems to be released, I was wondering if he still > plans on doing so. It would be a great improvement on PythonCE to have a > nice UI toolkit (as you may understand I'm not too fond of win32gui ;). Is it really out? Gee, I'll have to wait for the semester to end before I can get to it. I'm swamped working 60 hours a week, raising a family and doing 3 courses @ college. (Now, of course, what I really want is Venster running on CE, but that requires ctypes and I don't think that can be made to work easily) -- Brad Clements, bkc@murkworks.com (315)268-1000 http://www.murkworks.com (315)268-9812 Fax http://www.wecanstopspam.org/ AOL-IM: BKClements From pcolsen at comcast.net Thu Oct 9 12:59:24 2003 From: pcolsen at comcast.net (pcolsen@comcast.net) Date: Thu Oct 9 12:59:33 2003 Subject: [PythonCE] Tkinter in Python-CE? Message-ID: 100920031659.549.137a@comcast.net Is anyone working on implementing Tkinter now that Tk/TCL for winCE has been released at ftp://ftp.tcl.tk/pub/incoming/tcltk844ce-arm.zip? wxPython is great, but Tkinter seems to be the Python default. Thanks! Peter Olsen From kashtan at Validus.Com Thu Oct 9 13:03:23 2003 From: kashtan at Validus.Com (David L. Kashtan) Date: Thu Oct 9 13:01:58 2003 Subject: [PythonCE] Tkinter in Python-CE? In-Reply-To: 100920031659.549.137a@comcast.net Message-ID: <003501c38e87$3f5bdd20$981e2ec7@DAVIDSLAPTOP> I have Tkinter running on a port of Python 2.3 for CE. David -----Original Message----- From: pythonce-bounces@python.org [mailto:pythonce-bounces@python.org]On Behalf Of pcolsen@comcast.net Sent: Thursday, October 09, 2003 9:59 AM To: pythonce@python.org Subject: [PythonCE] Tkinter in Python-CE? Is anyone working on implementing Tkinter now that Tk/TCL for winCE has been released at ftp://ftp.tcl.tk/pub/incoming/tcltk844ce-arm.zip? wxPython is great, but Tkinter seems to be the Python default. Thanks! Peter Olsen _______________________________________________ PythonCE mailing list PythonCE@python.org http://mail.python.org/mailman/listinfo/pythonce From mailings at johnnydebris.net Thu Oct 9 13:07:52 2003 From: mailings at johnnydebris.net (Guido Wesdorp) Date: Thu Oct 9 13:08:27 2003 Subject: [PythonCE] Tkinter in Python-CE? In-Reply-To: <003501c38e87$3f5bdd20$981e2ec7@DAVIDSLAPTOP> References: <003501c38e87$3f5bdd20$981e2ec7@DAVIDSLAPTOP> Message-ID: <3F8595E8.4050002@johnnydebris.net> David L. Kashtan wrote: >I have Tkinter running on a port of Python 2.3 for CE. >David > > Well, tkInter may not be as advanced as wxPython, it would be a giant leap forward compared to win32gui!! Would you mind sharing it? I'd be *very* pleased! Cheers, Guido Wesdorp From mailings at johnnydebris.net Thu Oct 9 13:12:42 2003 From: mailings at johnnydebris.net (Guido Wesdorp) Date: Thu Oct 9 13:13:18 2003 Subject: [PythonCE] Tkinter in Python-CE? In-Reply-To: <3F8595E8.4050002@johnnydebris.net> References: <003501c38e87$3f5bdd20$981e2ec7@DAVIDSLAPTOP> <3F8595E8.4050002@johnnydebris.net> Message-ID: <3F85970A.6070900@johnnydebris.net> Guido Wesdorp wrote: > ...giant leap forward compared to win32gui... On the usability front that is ;) Guido From mike at pcblokes.com Fri Oct 10 03:55:05 2003 From: mike at pcblokes.com (Voidspace) Date: Fri Oct 10 03:55:15 2003 Subject: [PythonCE] Sick of deleting spam email !? Spam Remedy kills all spam automatically! 239818 References: Message-ID: <3F8665D9.8050201@pcblokes.com> An HTML attachment was scrubbed... URL: http://mail.python.org/pipermail/pythonce/attachments/20031010/46b4e0d8/attachment.html From mike at pcblokes.com Fri Oct 10 04:01:07 2003 From: mike at pcblokes.com (Voidspace) Date: Fri Oct 10 04:01:15 2003 Subject: [PythonCE] Tkinter in Python-CE? References: <003501c38e87$3f5bdd20$981e2ec7@DAVIDSLAPTOP> Message-ID: <3F866743.3050104@pcblokes.com> Is the port of 2.3 stable ? My colleague insists on using the new features of 2.3 and I can no longer test our code on my pocketPC....... Fuzzy David L. Kashtan wrote: >I have Tkinter running on a port of Python 2.3 for CE. >David > >-----Original Message----- >From: pythonce-bounces@python.org [mailto:pythonce-bounces@python.org]On >Behalf Of pcolsen@comcast.net >Sent: Thursday, October 09, 2003 9:59 AM >To: pythonce@python.org >Subject: [PythonCE] Tkinter in Python-CE? > > >Is anyone working on implementing Tkinter now that Tk/TCL for winCE has been released at >ftp://ftp.tcl.tk/pub/incoming/tcltk844ce-arm.zip? wxPython is great, but Tkinter seems to be the Python default. > >Thanks! > >Peter Olsen > >_______________________________________________ >PythonCE mailing list >PythonCE@python.org >http://mail.python.org/mailman/listinfo/pythonce > > > >_______________________________________________ >PythonCE mailing list >PythonCE@python.org >http://mail.python.org/mailman/listinfo/pythonce > > > > > -- http://www.Voidspace.org.uk The Place where headspace meets cyberspace. Online resource site - covering science, technology, computing, cyberpunk, psychology, spirituality, fiction and more. --- http://groups.yahoo.com/group/atlantis_talk/ The Atlantibot coding message group. --- http://www.atlantibots.org.uk http://www.learnlandrover.com http://www.fuchsiashockz.co.uk http://groups.yahoo.com/group/void-shockz --- Everyone has talent. What is rare is the courage to follow talent to the dark place where it leads. -Erica Jong Ambition is a poor excuse for not having sense enough to be lazy. -Milan Kundera From mike at pcblokes.com Fri Oct 10 04:30:08 2003 From: mike at pcblokes.com (Voidspace) Date: Fri Oct 10 04:30:17 2003 Subject: [PythonCE] wxPython for CE References: <3F8530A6.7040106@johnnydebris.net> Message-ID: <3F866E10.2070509@pcblokes.com> [snip..] > > Since wxWindows for CE seems to be released, I was wondering if he > still plans on doing so. It would be a great improvement on PythonCE > to have a nice UI toolkit (as you may understand I'm not too fond of > win32gui ;). 'Released' is possibly a slight exageration....... Following is what it says from the www.wxwindows.org page on the embedded ports : note - minimal sample :-( 2.6 wxWindows for MS Windows CE wxWindows for Windows CE is a port to Microsoft Windows CE 3.0 and variants thereof. Unlike the other embedded ports, wxWinCE will mostly use native widgets, rather than using wxUniversal. Status: as of July 12th 2003, the minimal sample is running under emulation using Embedded Visual Tools 3.0 (2002 edition) and the latest wxWindows CVS. For a screenshot of the minimal sample running on an iPAQ, see this page. To compile wxWinCE: Download and install Embedded Visual Tools 3.0 2002 if you don't already have it. Download wxWindows from CVS (head). Download the project files for wxWindows and the minimal sample from wxWinCE.zip. These are not kept in CVS since the dependencies make them enormous (20-30MB for the wxWindows project file!). Unzip wxWinCE.zip into the root of your wxWindows hierarchy. Open src/msw/wince/wxWindowsCE.vcp, select the x86 Debug configuration, and compile. There may be long delays while VC++ computes dependencies, and expect to wait a long time for loading saving the workspace. Open samples/minimal/minimalCE.vcp, select the x86 Debug configuration, and compile. For more information, including a to-do list, please visit (and contribute to) the wxWinCE Wiki page. > > Cheers, > > Guido Wesdorp > > > > _______________________________________________ > PythonCE mailing list > PythonCE@python.org > http://mail.python.org/mailman/listinfo/pythonce > > > -- http://www.Voidspace.org.uk The Place where headspace meets cyberspace. Online resource site - covering science, technology, computing, cyberpunk, psychology, spirituality, fiction and more. --- http://groups.yahoo.com/group/atlantis_talk/ The Atlantibot coding message group. --- http://www.atlantibots.org.uk http://www.learnlandrover.com http://www.fuchsiashockz.co.uk http://groups.yahoo.com/group/void-shockz --- Everyone has talent. What is rare is the courage to follow talent to the dark place where it leads. -Erica Jong Ambition is a poor excuse for not having sense enough to be lazy. -Milan Kundera From torsten.rueger at hiit.fi Tue Oct 14 05:01:08 2003 From: torsten.rueger at hiit.fi (Torsten Rueger) Date: Tue Oct 14 05:01:11 2003 Subject: [PythonCE] Python 2.3 for CE Message-ID: Moi David, is python 2.3 available anywhere/ anyhow now ? I've seen 3 messages in September, but no replies. We have 2.3 code and were originally thinking to use Linux on IPAQ just to get our simple wxWindows app running. After reading the "2.3 is there" post and the "wxWindows at least wobbles" post, I'm tempted to try on Windows. Thanks Torsten From goodey27 at juno.com Tue Oct 14 16:22:08 2003 From: goodey27 at juno.com (goodey27@juno.com) Date: Tue Oct 14 16:22:58 2003 Subject: [PythonCE] Tikinter Message-ID: <20031014.162209.1488.0.goodey27@juno.com> I downloaded Tkinter and it says in the Instructions to Fix and Run wince-reg.bat. what do I have to fix? Thanks goodey27@juno.com ________________________________________________________________ The best thing to hit the internet in years - Juno SpeedBand! Surf the web up to FIVE TIMES FASTER! Only $14.95/ month - visit www.juno.com to sign up today! From kashtan at Validus.Com Tue Oct 14 18:24:50 2003 From: kashtan at Validus.Com (David L. Kashtan) Date: Tue Oct 14 18:23:24 2003 Subject: [PythonCE] Python 2.3 distribution for Windows/CE Message-ID: <000e01c392a1$fb860480$981e2ec7@DAVIDSLAPTOP> I finally got a distribution together for Python 2.3 for Windows/CE. http://www.validus.com/~kashtan There is a binaries-only ZIP file for Python 2.3 for Windows/CE, a binaries-only ZIP file for Tkinter running on top of Python 2.3 for Windows/CE and a ZIP file containing all the sources necessary to build things for Windows/CE using the standard Python 2.3 source distribution from python.org David Kashtan From bkc at murkworks.com Tue Oct 14 18:47:35 2003 From: bkc at murkworks.com (Brad Clements) Date: Tue Oct 14 18:51:57 2003 Subject: [PythonCE] Python 2.3 distribution for Windows/CE In-Reply-To: <000e01c392a1$fb860480$981e2ec7@DAVIDSLAPTOP> Message-ID: <3F8C45B3.3193.658F64F@localhost> On 14 Oct 2003 at 15:24, David L. Kashtan wrote: > I finally got a distribution together for Python 2.3 for Windows/CE. > > http://www.validus.com/~kashtan > Thank you David, I'm sorry I've been a slacker posting your earlier binaries to the PythonCE wiki. -- Brad Clements, bkc@murkworks.com (315)268-1000 http://www.murkworks.com (315)268-9812 Fax http://www.wecanstopspam.org/ AOL-IM: BKClements From mike at pcblokes.com Wed Oct 15 10:10:33 2003 From: mike at pcblokes.com (Voidspace) Date: Wed Oct 15 10:10:41 2003 Subject: [PythonCE] Python 2.3 distribution for Windows/CE References: <000e01c392a1$fb860480$981e2ec7@DAVIDSLAPTOP> Message-ID: <3F8D5559.5030106@pcblokes.com> Following the link http://www.validus.com/~kashtan and downloading the binary ZIP I get a 640k file (which seems to be a valid zip file)..... Now as the last distribution of PythonCE was about 7 meg.... I'm a little suspicious... I'm not *overkeen* to break my existing installation... wouldn't be the end of the world I guess and maybe I should just try it :-) Do I install this distribution over the *top* of the last one... or instead of it............... Pardon my ignorance of course............. Fuzzyman David L. Kashtan wrote: >I finally got a distribution together for Python 2.3 for Windows/CE. > > http://www.validus.com/~kashtan > >There is a binaries-only ZIP file for Python 2.3 for Windows/CE, >a binaries-only ZIP file for Tkinter running on top of Python 2.3 >for Windows/CE and a ZIP file containing all the sources necessary >to build things for Windows/CE using the standard Python 2.3 source >distribution from python.org > >David Kashtan > > > > >_______________________________________________ >PythonCE mailing list >PythonCE@python.org >http://mail.python.org/mailman/listinfo/pythonce > > > > > -- http://www.Voidspace.org.uk The Place where headspace meets cyberspace. Online resource site - covering science, technology, computing, cyberpunk, psychology, spirituality, fiction and more. --- http://groups.yahoo.com/group/atlantis_talk/ The Atlantibot coding message group. --- http://www.atlantibots.org.uk http://www.learnlandrover.com http://www.fuchsiashockz.co.uk http://groups.yahoo.com/group/void-shockz --- Everyone has talent. What is rare is the courage to follow talent to the dark place where it leads. -Erica Jong Ambition is a poor excuse for not having sense enough to be lazy. -Milan Kundera From mailings at johnnydebris.net Thu Oct 16 05:25:32 2003 From: mailings at johnnydebris.net (Guido Wesdorp) Date: Thu Oct 16 05:25:53 2003 Subject: [PythonCE] Python 2.3 distribution for Windows/CE In-Reply-To: <3F8D5559.5030106@pcblokes.com> References: <000e01c392a1$fb860480$981e2ec7@DAVIDSLAPTOP> <3F8D5559.5030106@pcblokes.com> Message-ID: <3F8E640C.5050603@johnnydebris.net> Voidspace wrote: > Following the link > > http://www.validus.com/~kashtan > > and downloading the binary ZIP I get a 640k file (which seems to be a > valid zip file)..... > Now as the last distribution of PythonCE was about 7 meg.... I'm a > little suspicious... > I'm not *overkeen* to break my existing installation... wouldn't be > the end of the world I guess and maybe I should just try it :-) Do I > install this distribution over the *top* of the last one... or instead > of it............... > > Pardon my ignorance of course............. > > Fuzzyman Indeed the package is smaller, it seems like most of the standard .py files in the Lib dir aren't there. It's is a very minimal Python(/Tkinter) installation, probably to save some room on the not-too-large storage of the common pocket pc, but you can just copy the files from the 'normal' Python 2.3 installation (the .py files will definitely work, not 100% sure about the .pyc files but I assume they will work as well, since the bytecode shouldn't differ) into the Lib dir of the Python/Tkinter distribution (\Program Files\Python\Lib). Note that if you don't have much storage it might be a good idea to transfer modules to your pocket pc only when needed to keep a nice and small installation. I can assure you the distribution works, I have it running on my HP Ipaq since yesterday and I did some small tests with Tkinter which seemed okay. If I find some time this weekend I'll try to create up a more complete package (with the standard python stuff, Tkinter additions (tkMessageBox, tkFileDialog and such) and perhaps an extra or two) and try to find out what registry edits can make the dist a bit more usable. Don't count on it but if I do find some time I'll let you know. Cheers, Guido Wesdorp From jbauer at rubic.com Thu Oct 16 08:59:19 2003 From: jbauer at rubic.com (Jeff Bauer) Date: Thu Oct 16 09:00:48 2003 Subject: [PythonCE] Python 2.3 distribution for Windows/CE References: <000e01c392a1$fb860480$981e2ec7@DAVIDSLAPTOP> <3F8D5559.5030106@pcblokes.com> <3F8E640C.5050603@johnnydebris.net> Message-ID: <3F8E9627.1DA79D23@rubic.com> Guido, Yes the .pyc files will work. Back when I was doing some work on the earlier CE devices, I would precompile my code and transfer the .pyc files over to execute. Everything ran much faster that way. I don't do Windows CE anymore, but I was curious. Now that Python 2.3 supports importing from .zip files, it would appear that zip archives would be a pretty good way to distribute code, assuming the decompression doesn't slow things down much. Jeff Bauer Rubicon Research Guido Wesdorp wrote: > but you can just copy the > files from the 'normal' Python 2.3 installation (the .py files will > definitely work, not 100% sure about the .pyc files but I assume they > will work as well, since the bytecode shouldn't differ) into the Lib dir > of the Python/Tkinter distribution (\Program Files\Python\Lib). From mailings at johnnydebris.net Thu Oct 16 09:22:17 2003 From: mailings at johnnydebris.net (Guido Wesdorp) Date: Thu Oct 16 09:22:25 2003 Subject: [PythonCE] Python 2.3 distribution for Windows/CE In-Reply-To: <3F8E9627.1DA79D23@rubic.com> References: <000e01c392a1$fb860480$981e2ec7@DAVIDSLAPTOP> <3F8D5559.5030106@pcblokes.com> <3F8E640C.5050603@johnnydebris.net> <3F8E9627.1DA79D23@rubic.com> Message-ID: <3F8E9B89.6090500@johnnydebris.net> Jeff Bauer wrote: >Guido, > >Yes the .pyc files will work. Back when I was doing >some work on the earlier CE devices, I would precompile >my code and transfer the .pyc files over to execute. >Everything ran much faster that way. > > I think that's what the 2.2 I currently have installed on my pocket pc does as well, probably mainly to get the dist smaller (the files will be created if they don't exist, so they will end up in the dir anyway, as opposed to the source files). I'll keep it in mind, perhaps I will create a version with and one without the sources or so... >I don't do Windows CE anymore, but I was curious. Now that >Python 2.3 supports importing from .zip files, it would appear >that zip archives would be a pretty good way to distribute code, >assuming the decompression doesn't slow things down much. > > Well, I'll try to look into it, to be honest I haven't checked out the feature at all... Perhaps it can be useful for a CE distribution, I assume the loading speed of modules isn't the main issue on pocket pc anyway ;) Cheers, Guido From mailings at johnnydebris.net Fri Oct 17 05:04:49 2003 From: mailings at johnnydebris.net (Guido Wesdorp) Date: Fri Oct 17 05:05:01 2003 Subject: [PythonCE] Python 2.3 with Tkinter preview Message-ID: <3F8FB0B1.7050703@johnnydebris.net> Hello! I think I want to do some more work on trying to get more modules to work, right now most of them are just copied from a 2.3 release so there are most definitely a couple in there that won't (completely) work, but for the impatient I placed a rar-archive (I'm sorry, should have used zip I suppose, too late for that now since I'm at work and can't reach a Windows box) of Python 2.3/Tkinter, with a load of modules (couldn't get Tkinter to work, sorry for that ;) but most of the rest of the standard modules are in there) on the following url: http://debris.demon.nl/PythonCE-2.3.rar Cheers, Guido Wesdorp P.S. I haven't checked it for virii so if you download it and have a virus killer installed please let me and the list know if it's okay... From mike at pcblokes.com Fri Oct 17 06:11:03 2003 From: mike at pcblokes.com (Voidspace) Date: Fri Oct 17 06:11:13 2003 Subject: [PythonCE] Python 2.3 - Thanks References: <3F8FB0B1.7050703@johnnydebris.net> Message-ID: <3F8FC037.4040207@pcblokes.com> Great. Thanks very much guys for all your work and effort in this area. I'm afraid I'm unable to help a great deal as I don't understand the issues when porting stuff over. I thought most of the module were written in C ! So I'm a little surprised to hear of them as .py files :-) I've got the 640k core distribution up and running - which now brings a console window up - great ! Is this because ppceshell is now included as standard ? Of course I get import errors from my code... but it sounds like this can be sorted fairly easily by including the right modules. I'm excited about the idea of being able to distribute my code with 'minimal distributions' (including the possibility of zipping the modules I use...). So it's looking very good and I'm very grateful... thanks. Fuzzyman Guido Wesdorp wrote: > Hello! > > I think I want to do some more work on trying to get more modules to > work, right now most of them are just copied from a 2.3 release so > there are most definitely a couple in there that won't (completely) > work, but for the impatient I placed a rar-archive (I'm sorry, should > have used zip I suppose, too late for that now since I'm at work and > can't reach a Windows box) of Python 2.3/Tkinter, with a load of > modules (couldn't get Tkinter to work, sorry for that ;) but most of > the rest of the standard modules are in there) on the following url: > > http://debris.demon.nl/PythonCE-2.3.rar > > Cheers, > > Guido Wesdorp > > P.S. I haven't checked it for virii so if you download it and have a > virus killer installed please let me and the list know if it's okay... > > > _______________________________________________ > PythonCE mailing list > PythonCE@python.org > http://mail.python.org/mailman/listinfo/pythonce > > > -- http://www.Voidspace.org.uk The Place where headspace meets cyberspace. Online resource site - covering science, technology, computing, cyberpunk, psychology, spirituality, fiction and more. --- http://groups.yahoo.com/group/atlantis_talk/ The Atlantibot coding message group. --- http://www.atlantibots.org.uk http://www.learnlandrover.com http://www.fuchsiashockz.co.uk http://groups.yahoo.com/group/void-shockz --- Everyone has talent. What is rare is the courage to follow talent to the dark place where it leads. -Erica Jong Ambition is a poor excuse for not having sense enough to be lazy. -Milan Kundera From mailings at johnnydebris.net Fri Oct 17 06:21:12 2003 From: mailings at johnnydebris.net (Guido Wesdorp) Date: Fri Oct 17 06:21:37 2003 Subject: [PythonCE] Python 2.3 - Thanks In-Reply-To: <3F8FC037.4040207@pcblokes.com> References: <3F8FB0B1.7050703@johnnydebris.net> <3F8FC037.4040207@pcblokes.com> Message-ID: <3F8FC298.3050804@johnnydebris.net> Voidspace wrote: > Great. > Thanks very much guys for all your work and effort in this area. > I'm afraid I'm unable to help a great deal as I don't understand the > issues when porting stuff over. > I thought most of the module were written in C ! So I'm a little > surprised to hear of them as .py files :-) Well some of them are, and that's an area of which I don't know much as well, (thanks a whole lot to David Kashtan for that dirty job ;) but most of the standard modules are indeed written in Python (who wants to write C if (s)he doesn't have to ;). David (probably because he just added what he needed, or to keep the distribution as small as possible) had only packed up the C-stuff and some core modules, I just added a bunch of standard Python distribution stuff (which was very easy: just grabbed the lot from another Python 2.3 and compiled that to .pyc files (to save some space)). > I've got the 640k core distribution up and running - which now brings > a console window up - great ! Is this because ppceshell is now > included as standard ? Think so, to be honest I just bought my PPC so the 2.2 dist was the first one I looked at... > Of course I get import errors from my code... but it sounds like this > can be sorted fairly easily by including the right modules. > I'm excited about the idea of being able to distribute my code with > 'minimal distributions' (including the possibility of zipping the > modules I use...). Well, I guess that should work. What I missed were only a couple of things: some os functions aren't available (like os.getcwd and os.chdir) and I also noticed the '_random' C-module (required for random.py) isn't there. Apart from that it seems pretty complete. > So it's looking very good and I'm very grateful... thanks. My pleasure (don't forget I benefit myself as well ;)... Please let me know if you encounter any problems not mentioned in this mail, perhaps I can improve the dist a bit. Cheers, Guido From goodey27 at juno.com Tue Oct 21 14:30:39 2003 From: goodey27 at juno.com (goodey27@juno.com) Date: Tue Oct 21 14:31:45 2003 Subject: [PythonCE] Python 2.3 Message-ID: <20031021.143040.268.0.goodey27@juno.com> I would like to get the pcshell.py cource file Thanks goodey27@juno.com ________________________________________________________________ The best thing to hit the internet in years - Juno SpeedBand! Surf the web up to FIVE TIMES FASTER! Only $14.95/ month - visit www.juno.com to sign up today! From pythonce at xhaus.com Fri Oct 24 07:05:28 2003 From: pythonce at xhaus.com (Alan Kennedy) Date: Fri Oct 24 07:05:39 2003 Subject: [PythonCE] Windows Mobile? Message-ID: <3F990778.9D548EED@xhaus.com> Hi all, Please forgive my ignorance of Microsoft OS versions, but I was wondering if the Python 2.3 CE port mentioned here will also work on Microsoft Windows Mobile? I really want to have python 2.3 on a handheld device, and the strongest contender currently is the Dell Axim X5. Mostly because it costs only ?199. Before buying an Axim, I wanted to check that I *can* get a python 2.3 interpreter for it. Thanks in advance. Alan. From bkc at murkworks.com Fri Oct 24 10:00:40 2003 From: bkc at murkworks.com (Brad Clements) Date: Fri Oct 24 10:04:09 2003 Subject: [PythonCE] Windows Mobile? In-Reply-To: <3F990778.9D548EED@xhaus.com> Message-ID: <3F98F906.21476.37F645ED@localhost> On 24 Oct 2003 at 12:05, Alan Kennedy wrote: > Please forgive my ignorance of Microsoft OS versions, but I was > wondering if the Python 2.3 CE port mentioned here will also work on > Microsoft Windows Mobile? > > I really want to have python 2.3 on a handheld device, and the strongest > contender currently is the Dell Axim X5. Mostly because it costs only ?199. > I'm not familiar with this device. If it's based off the XSCALE/ARM processor and has Pocket PC Windows 2000, or 2002 or 2003 it should work. -- Brad Clements, bkc@murkworks.com (315)268-1000 http://www.murkworks.com (315)268-9812 Fax http://www.wecanstopspam.org/ AOL-IM: BKClements From mike at pcblokes.com Fri Oct 24 10:12:28 2003 From: mike at pcblokes.com (Voidspace) Date: Fri Oct 24 10:12:37 2003 Subject: [PythonCE] Windows Mobile? References: <3F98F906.21476.37F645ED@localhost> Message-ID: <3F99334C.3050306@pcblokes.com> The Dell Axim is a straight pocketPC... very nice they are too..... Fuzzy Brad Clements wrote: >On 24 Oct 2003 at 12:05, Alan Kennedy wrote: > > > >>Please forgive my ignorance of Microsoft OS versions, but I was >>wondering if the Python 2.3 CE port mentioned here will also work on >>Microsoft Windows Mobile? >> >>I really want to have python 2.3 on a handheld device, and the strongest >>contender currently is the Dell Axim X5. Mostly because it costs only ?199. >> >> >> > >I'm not familiar with this device. If it's based off the XSCALE/ARM >processor and has Pocket PC Windows 2000, or 2002 or 2003 it should >work. > > > > -- http://www.Voidspace.org.uk The Place where headspace meets cyberspace. Online resource site - covering science, technology, computing, cyberpunk, psychology, spirituality, fiction and more. --- http://groups.yahoo.com/group/atlantis_talk/ The Atlantibot coding message group. --- http://www.atlantibots.org.uk http://www.learnlandrover.com http://www.fuchsiashockz.co.uk http://groups.yahoo.com/group/void-shockz --- Everyone has talent. What is rare is the courage to follow talent to the dark place where it leads. -Erica Jong Ambition is a poor excuse for not having sense enough to be lazy. -Milan Kundera From mike at pcblokes.com Fri Oct 24 10:15:52 2003 From: mike at pcblokes.com (Voidspace) Date: Fri Oct 24 10:16:19 2003 Subject: [PythonCE] Weird Error Message-ID: <3F993418.7000605@pcblokes.com> Why does python 2.3 on the pocketPC think that 'w' is an invalid IO mode ? \AAA\utils1.py:178: SyntaxWarning: import * only allowed at module level def miniwritefile(filename, fullreport, skillreport): No config file was specified. Using the default file "config.txt" opened file config.txt Traceback (most recent call last): File "\Program Files\Python\lib\pcceshell.py", line 545, in RunCode File "\AAA\AAAcontroller.py", line 307, in ? standard_out=StandOut(verbose,outputpath,logmode) # Creating the output object File "\AAA\utils1.py", line 25, in __init__ self.outputfile=open(outputpath,'w') IOError: invalid mode: w Python 2.3 (#0, Oct 13 2003, 17:16:10) [MSC v.1200 32 bit (Unknown)] on Pocket PC >>> -- http://www.Voidspace.org.uk The Place where headspace meets cyberspace. Online resource site - covering science, technology, computing, cyberpunk, psychology, spirituality, fiction and more. --- http://groups.yahoo.com/group/atlantis_talk/ The Atlantibot coding message group. --- http://www.atlantibots.org.uk http://www.learnlandrover.com http://www.fuchsiashockz.co.uk http://groups.yahoo.com/group/void-shockz --- Everyone has talent. What is rare is the courage to follow talent to the dark place where it leads. -Erica Jong Ambition is a poor excuse for not having sense enough to be lazy. -Milan Kundera From pythonce at xhaus.com Fri Oct 24 10:27:43 2003 From: pythonce at xhaus.com (Alan Kennedy) Date: Fri Oct 24 10:27:48 2003 Subject: [PythonCE] Weird Error References: <3F993418.7000605@pcblokes.com> Message-ID: <3F9936DF.38E9710A@xhaus.com> Voidspace wrote: > Why does python 2.3 on the pocketPC think that 'w' is an invalid IO mode ? I don't know the solution for sure, but here's a theory. Microsoft operating systems tend to do character translation on input and output streams. In python 2.3 on win2k, when writing a text file, the C runtime libraries translate all '\n' to '\r\n', the DOS end-of-line terminator. To open a file in text mode, you open with a mode of either "rt" or "wt". If one wants to open a file in "binary" mode, where the '\n' to '\r\n' translation should not be done, then one uses modes 'rb' or 'wb'. So maybe the mode of 'w' is fine, but the MS runtime library might be insisting that you specify either binary or text mode. So try self.outputfile = open(outputpath, 'wt') # or 'wb' I could be completely wrong though ;-) And of course, *nix doesn't have these problems, because '\n' stays represented by a single character in text files. So using modes "w", "wb" and "wt" should all be equivalant on *nix. Al. From mike at pcblokes.com Fri Oct 24 10:31:38 2003 From: mike at pcblokes.com (Voidspace) Date: Fri Oct 24 10:31:52 2003 Subject: [PythonCE] Weird Error References: <3F993418.7000605@pcblokes.com> <3F9936DF.38E9710A@xhaus.com> Message-ID: <3F9937CA.6090609@pcblokes.com> Hmm... bugger. I'm sure the same code ran fine on 2.2.3 for pocketpc though. This code certainly runs fine on the desktop version of windows......... and it'll be a pain if I have to put another work around for pocketpc......... Hohum...... Anyway - I'll try it and elt you know... thanks. Fuzzy Alan Kennedy wrote: >Voidspace wrote: > > > >>Why does python 2.3 on the pocketPC think that 'w' is an invalid IO mode ? >> >> > >I don't know the solution for sure, but here's a theory. > >Microsoft operating systems tend to do character translation on input >and output streams. In python 2.3 on win2k, when writing a text file, >the C runtime libraries translate all '\n' to '\r\n', the DOS >end-of-line terminator. To open a file in text mode, you open with a >mode of either "rt" or "wt". > >If one wants to open a file in "binary" mode, where the '\n' to '\r\n' >translation should not be done, then one uses modes 'rb' or 'wb'. > >So maybe the mode of 'w' is fine, but the MS runtime library might be >insisting that you specify either binary or text mode. So try > >self.outputfile = open(outputpath, 'wt') # or 'wb' > >I could be completely wrong though ;-) > >And of course, *nix doesn't have these problems, because '\n' stays >represented by a single character in text files. So using modes "w", >"wb" and "wt" should all be equivalant on *nix. > >Al. > > >_______________________________________________ >PythonCE mailing list >PythonCE@python.org >http://mail.python.org/mailman/listinfo/pythonce > > > > > -- http://www.Voidspace.org.uk The Place where headspace meets cyberspace. Online resource site - covering science, technology, computing, cyberpunk, psychology, spirituality, fiction and more. --- http://groups.yahoo.com/group/atlantis_talk/ The Atlantibot coding message group. --- http://www.atlantibots.org.uk http://www.learnlandrover.com http://www.fuchsiashockz.co.uk http://groups.yahoo.com/group/void-shockz --- Everyone has talent. What is rare is the courage to follow talent to the dark place where it leads. -Erica Jong Ambition is a poor excuse for not having sense enough to be lazy. -Milan Kundera From mike at pcblokes.com Sun Oct 26 16:03:15 2003 From: mike at pcblokes.com (Michael) Date: Sun Oct 26 16:02:54 2003 Subject: [PythonCE] Using Tkinter Message-ID: I've been playing with some of the Tkinter examples in 'Programming Python' (O'Reilly) - and very nice it seems too, a very gentle introduction. The straightforward examples work fine on the PocketPC when typed at the interpreter - but produce the following error when run : Tcl_Init error: Can't find a usable init.tcl in the following directories: /lib/tcl8.4 This probably means that Tcl wasn't installed properly. Traceback (most recent call last): File "\Program Files\Python\lib\pcceshell.py", line 460, in Interact File "", line 1, in ? File "\gui1.py", line 3, in ? widget = Button(None, text='Hello widget world', command=sys.exit) File "\Program Files\Python\lib\Tkinter.py", line 1906, in __init__ File "\Program Files\Python\lib\Tkinter.py", line 1829, in __init__ File "\Program Files\Python\lib\Tkinter.py", line 1804, in _setup TclError: Can't find a usable init.tcl in the following directories: /lib/tcl8.4 This probably means that Tcl wasn't installed properly. >>> import sys >>> sys.path ['\\', '', '\\Windows\\python23.zip', '\\Program Files\\Python', '\\Program Files\\Python\\lib', '\\Storage Card\\Python', '\\Storage Card\\Python\\lib', ''] >>> That '\\Windows\\python23.zip' in sys.path is interesting - does it mean python ought to work with all it's modules in one Zip ? Interesting ! But more to the point I guess sometning is wrong with the way my python is setup and it doesn't know where to look for the Tcl files... (I also get an 'import site failed' message that flashes past on the console when I run my programs - but as everything works I haven't been too worried - they *may* be related issues though I guess) Can anyone tell me how I need to change this ? To the gentleman who suggested the problem with my IOerror ' 'w' is not a valid mode' that I posted on friday - Thank you. In fact the real problem was that I had wrongly specified the directory ! (odd error message though !). His suggestion ('wb' mode etc) was in fact the solution to a different problem I had with pickling ! So thanks. Sorry for not remembering your name - but I'm posting from my XDA and don't have the original email. BTW - using the following example from 'Programming Python' - the program doesn't quit *properly* when the button is pressed. It returns control to the interpreter, but the Tk task is still running and the defunct GUI hangs around... Is this expected behaviour for root.quit ? The sys.exit one works fine - but caused a 'memory x00.... (blah) cannot be read' error under XP and caused python to crash (all on exit) - weird ? I'll try again when I'm at home and post it to comp.lang.python (if the google posting works this time) tommorrow.... from Tkinter import * root = Tk() Button(root, text='press', command=root.quit).pack(side=LEFT) root.mainloop() Thanks Fuzzy From mailings at johnnydebris.net Mon Oct 27 08:43:06 2003 From: mailings at johnnydebris.net (Guido Wesdorp) Date: Mon Oct 27 08:44:47 2003 Subject: [PythonCE] Using Tkinter In-Reply-To: References: Message-ID: <3F9D20EA.5030100@johnnydebris.net> Michael wrote: >Tcl_Init error: Can't find a usable init.tcl in the following directories: > /lib/tcl8.4 > > What Python 'distribution' are you using? Is this either the package David Kashtan posted or the one I posted last week? If so, where are your tcl/tk files right now? I think if you place them in a directory on the root just like they're in the zip things should just work... Cheers, Guido From mike at pcblokes.com Mon Oct 27 08:52:57 2003 From: mike at pcblokes.com (Voidspace) Date: Mon Oct 27 08:53:10 2003 Subject: [PythonCE] Using Tkinter References: <3F9D20EA.5030100@johnnydebris.net> Message-ID: <3F9D2339.90800@pcblokes.com> I used the package posted *with* the Tkinter files and unzipped it *into* the root directory as in the installation instructions. So the tcl8.4.3 directory is in the root directory of my device. It was with this distribution that I got the error message I posted. What is slightly suspicious is that *nowhere* in this distrinbution does a directory "/lib/tcl8.4 " exist... so either it's an old message - or it's looking in the wrong place :-) I *haven't* yet made the registry changes as it's not something I've done before - although I'm quite willing to have a go and have a program that will help me do it.... I'm trying to move the distribution onto the storage card as this will save me a lot of space - \\Storage Card\\Python is in sys.path - so it ought to work fine for the python files - I guess thi means I'm going to need to make the registry changes anyway...... Any assistance much appreciated - it was very exciting to see a Tkinter window on my pocketPC..... (Hey - I'm the kind of guy who gets excited by GUI windows.. ok ?) !! Fuzzy Guido Wesdorp wrote: > Michael wrote: > >> Tcl_Init error: Can't find a usable init.tcl in the following >> directories: /lib/tcl8.4 >> >> > What Python 'distribution' are you using? Is this either the package > David Kashtan posted or the one I posted last week? If so, where are > your tcl/tk files right now? I think if you place them in a directory > on the root just like they're in the zip things should just work... > > Cheers, > > Guido > > > > . > -- http://www.Voidspace.org.uk The Place where headspace meets cyberspace. Online resource site - covering science, technology, computing, cyberpunk, psychology, spirituality, fiction and more. --- http://groups.yahoo.com/group/atlantis_talk/ The Atlantibot coding message group. --- http://www.atlantibots.org.uk http://www.learnlandrover.com http://www.fuchsiashockz.co.uk http://groups.yahoo.com/group/void-shockz --- Everyone has talent. What is rare is the courage to follow talent to the dark place where it leads. -Erica Jong Ambition is a poor excuse for not having sense enough to be lazy. -Milan Kundera From mailings at johnnydebris.net Mon Oct 27 09:05:56 2003 From: mailings at johnnydebris.net (Guido Wesdorp) Date: Mon Oct 27 09:07:37 2003 Subject: [PythonCE] Using Tkinter In-Reply-To: <3F9D2339.90800@pcblokes.com> References: <3F9D20EA.5030100@johnnydebris.net> <3F9D2339.90800@pcblokes.com> Message-ID: <3F9D2644.6010900@johnnydebris.net> Voidspace wrote: > I used the package posted *with* the Tkinter files and unzipped it > *into* the root directory as in the installation instructions. > > So the tcl8.4.3 directory is in the root directory of my device. Right, that's how I have it as well... Perhaps David Kashtan knows more here? It might be possible one of the files I added have the path hard-coded in there (although that would seem rather weird to me as well), I'll try an rgrep as soon as I have time. Cheers, Guido From mike at pcblokes.com Thu Oct 30 10:49:52 2003 From: mike at pcblokes.com (Voidspace) Date: Thu Oct 30 10:50:02 2003 Subject: [PythonCE] Using Tkinter References: <000001c39c13$731dcb70$050310ac@DAVIDSLAPTOP> Message-ID: <3FA13320.4030102@pcblokes.com> Right - finally got around to looking at my file layout..... The layout you suggest here is the *default* layout - which of course is what I've been using :-( Fuzzy David L. Kashtan wrote: >If you have a working Tcl/Tk installation (with the requisite registry >entries made) then you should be good. If there are no registry entries >then you want to install in the following directories: > \tcl8.4.3\library: > This is where the tcl files go. The minimal files > required are: > auto.tcl > history.tcl > init.tcl > ldAout.tcl > package.tcl > parray.tcl > safe.tcl tclIndex > word.tcl > \tcl8.4.3\tk8.4: > This is where the Tk files go: Here are the files I have: > bgerror.tcl > button.tcl > choosedir.tcl > clrpick.tcl > comdlg.tcl > console.tcl > dialog.tcl > entry.tcl > focus.tcl > license.terms > listbox.tcl > menu.tcl > mkpsenc.tcl > msgbox.tcl > obsolete.tcl > optMenu.tcl > palette.tcl > panedwindow.tcl > pkgIndex.tcl > safetk.tcl > scale.tcl > scrlbar.tcl > spinbox.tcl > tclIndex > tearoff.tcl > text.tcl > tkfbox.tcl > tk.tcl > unsupported.tcl > xmfbox.tcl >David > > > > > > -- http://www.Voidspace.org.uk The Place where headspace meets cyberspace. Online resource site - covering science, technology, computing, cyberpunk, psychology, spirituality, fiction and more. --- http://groups.yahoo.com/group/atlantis_talk/ The Atlantibot coding message group. --- http://www.atlantibots.org.uk http://www.learnlandrover.com http://www.fuchsiashockz.co.uk http://groups.yahoo.com/group/void-shockz --- Everyone has talent. What is rare is the courage to follow talent to the dark place where it leads. -Erica Jong Ambition is a poor excuse for not having sense enough to be lazy. -Milan Kundera From goodey27 at juno.com Wed Oct 29 14:57:29 2003 From: goodey27 at juno.com (goodey27@juno.com) Date: Thu Oct 30 16:11:26 2003 Subject: [PythonCE] win32process Message-ID: <20031030.161007.1168.0.goodey27@juno.com> I'mlooking where I can get win32process.pyd file for the new release Ver.2.3. The old one from ver. 2.2 dosnt weok with the new release. Isr ________________________________________________________________ The best thing to hit the internet in years - Juno SpeedBand! Surf the web up to FIVE TIMES FASTER! Only $14.95/ month - visit www.juno.com to sign up today!