From coder_infidel at hotmail.com Tue Jan 3 13:33:52 2006 From: coder_infidel at hotmail.com (Luke Dunstan) Date: Tue, 3 Jan 2006 20:33:52 +0800 Subject: [PythonCE] Python 2.3.5 for Windows CE / ARM (Pocket PC 2003) Message-ID: A new release of Python for Windows CE is available. Download it here: http://sourceforge.net/project/showfiles.php?group_id=104228 The release notes are linked from this page, but a direct link is: http://sourceforge.net/project/shownotes.php?group_id=104228&release_id=382495 Luke From bkc at murkworks.com Tue Jan 3 15:55:47 2006 From: bkc at murkworks.com (Brad Clements) Date: Tue, 03 Jan 2006 09:55:47 -0500 Subject: [PythonCE] [ctypes-users] Python 2.3.5 for Windows CE / ARM (Pocket PC 2003) In-Reply-To: Message-ID: <43BA4A23.19348.479027C7@bkc.murkworks.com> On 3 Jan 2006 at 20:33, Luke Dunstan wrote: > > A new release of Python for Windows CE is available. Download it here: > > http://sourceforge.net/project/showfiles.php?group_id=104228 > > The release notes are linked from this page, but a direct link is: > > http://sourceforge.net/project/shownotes.php?group_id=104228&release_i > d=382495 > > > Luke Thanks Luke for setting up this release. List folks -- Luke is now an official "developer' for the Python CE project. Welcome aboard! -- Brad Clements, bkc at murkworks.com (315)268-1000 http://www.murkworks.com AOL-IM or SKYPE: BKClements From javirosa at eden.rutgers.edu Wed Jan 4 21:18:27 2006 From: javirosa at eden.rutgers.edu (javirosa at eden.rutgers.edu) Date: Wed, 4 Jan 2006 15:18:27 -0500 (EST) Subject: [PythonCE] Python 2.3.5 for Windows CE / ARM (Pocket PC 2003) In-Reply-To: References: Message-ID: <1169.4.250.165.155.1136405907.squirrel@webmail.eden.rutgers.edu> Great! Thanks you for your efforts. > Send PythonCE mailing list submissions to > pythonce at python.org > > To subscribe or unsubscribe via the World Wide Web, visit > http://mail.python.org/mailman/listinfo/pythonce > or, via email, send a message with subject or body 'help' to > pythonce-request at python.org > > You can reach the person managing the list at > pythonce-owner at python.org > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of PythonCE digest..." > > > Today's Topics: > > 1. Python 2.3.5 for Windows CE / ARM (Pocket PC 2003) (Luke Dunstan) > 2. Re: [ctypes-users] Python 2.3.5 for Windows CE / ARM (Pocket > PC 2003) (Brad Clements) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Tue, 3 Jan 2006 20:33:52 +0800 > From: "Luke Dunstan" > Subject: [PythonCE] Python 2.3.5 for Windows CE / ARM (Pocket PC 2003) > To: > Cc: ctypes-users at lists.sourceforge.net > Message-ID: > Content-Type: text/plain; format=flowed; charset="iso-8859-1"; > reply-type=original > > > A new release of Python for Windows CE is available. Download it here: > > http://sourceforge.net/project/showfiles.php?group_id=104228 > > The release notes are linked from this page, but a direct link is: > > http://sourceforge.net/project/shownotes.php?group_id=104228&release_id=382495 > > > Luke > > > ------------------------------ > > Message: 2 > Date: Tue, 03 Jan 2006 09:55:47 -0500 > From: "Brad Clements" > Subject: Re: [PythonCE] [ctypes-users] Python 2.3.5 for Windows CE / > ARM (Pocket PC 2003) > To: > Message-ID: <43BA4A23.19348.479027C7 at bkc.murkworks.com> > Content-Type: text/plain; charset=US-ASCII > > On 3 Jan 2006 at 20:33, Luke Dunstan wrote: > >> >> A new release of Python for Windows CE is available. Download it here: >> >> http://sourceforge.net/project/showfiles.php?group_id=104228 >> >> The release notes are linked from this page, but a direct link is: >> >> http://sourceforge.net/project/shownotes.php?group_id=104228&release_i >> d=382495 >> >> >> Luke > > > Thanks Luke for setting up this release. > > List folks -- Luke is now an official "developer' for the Python CE > project. > Welcome aboard! > > > > > -- > Brad Clements, bkc at murkworks.com (315)268-1000 > http://www.murkworks.com > AOL-IM or SKYPE: BKClements > > > > > ------------------------------ > > _______________________________________________ > PythonCE mailing list > PythonCE at python.org > http://mail.python.org/mailman/listinfo/pythonce > > > End of PythonCE Digest, Vol 30, Issue 2 > *************************************** > From mike at pcblokes.com Thu Jan 5 10:33:58 2006 From: mike at pcblokes.com (Michael Foord) Date: Thu, 05 Jan 2006 09:33:58 +0000 Subject: [PythonCE] Python 2.3.5 for Windows CE / ARM (Pocket PC 2003) In-Reply-To: <1169.4.250.165.155.1136405907.squirrel@webmail.eden.rutgers.edu> References: <1169.4.250.165.155.1136405907.squirrel@webmail.eden.rutgers.edu> Message-ID: <43BCE806.4030807@pcblokes.com> javirosa at eden.rutgers.edu 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 at python.org >> >>To subscribe or unsubscribe via the World Wide Web, visit >> http://mail.python.org/mailman/listinfo/pythonce >>or, via email, send a message with subject or body 'help' to >> pythonce-request at python.org >> >>You can reach the person managing the list at >> pythonce-owner at python.org >> >>When replying, please edit your Subject line so it is more specific >>than "Re: Contents of PythonCE digest..." >> >> >>Today's Topics: >> >> 1. Python 2.3.5 for Windows CE / ARM (Pocket PC 2003) (Luke Dunstan) >> 2. Re: [ctypes-users] Python 2.3.5 for Windows CE / ARM (Pocket >> PC 2003) (Brad Clements) >> >> >>---------------------------------------------------------------------- >> >>Message: 1 >>Date: Tue, 3 Jan 2006 20:33:52 +0800 >>From: "Luke Dunstan" >>Subject: [PythonCE] Python 2.3.5 for Windows CE / ARM (Pocket PC 2003) >>To: >>Cc: ctypes-users at lists.sourceforge.net >>Message-ID: >>Content-Type: text/plain; format=flowed; charset="iso-8859-1"; >> reply-type=original >> >> >>A new release of Python for Windows CE is available. Download it here: >> >>http://sourceforge.net/project/showfiles.php?group_id=104228 >> >>The release notes are linked from this page, but a direct link is: >> >>http://sourceforge.net/project/shownotes.php?group_id=104228&release_id=382495 >> >> >>Luke >> >> >>------------------------------ >> >>Message: 2 >>Date: Tue, 03 Jan 2006 09:55:47 -0500 >>From: "Brad Clements" >>Subject: Re: [PythonCE] [ctypes-users] Python 2.3.5 for Windows CE / >> ARM (Pocket PC 2003) >>To: >>Message-ID: <43BA4A23.19348.479027C7 at bkc.murkworks.com> >>Content-Type: text/plain; charset=US-ASCII >> >>On 3 Jan 2006 at 20:33, Luke Dunstan wrote: >> >> >>>A new release of Python for Windows CE is available. Download it here: >>> >>>http://sourceforge.net/project/showfiles.php?group_id=104228 >>> >>>The release notes are linked from this page, but a direct link is: >>> >>>http://sourceforge.net/project/shownotes.php?group_id=104228&release_i >>>d=382495 >>> >>> >>>Luke >> >> >>Thanks Luke for setting up this release. >> >>List folks -- Luke is now an official "developer' for the Python CE >>project. >>Welcome aboard! >> >> >> >> >>-- >>Brad Clements, bkc at murkworks.com (315)268-1000 >>http://www.murkworks.com >>AOL-IM or SKYPE: BKClements >> >> >> >> >>------------------------------ >> >>_______________________________________________ >>PythonCE mailing list >>PythonCE at python.org >>http://mail.python.org/mailman/listinfo/pythonce >> >> >>End of PythonCE Digest, Vol 30, Issue 2 >>*************************************** >> > > > > _______________________________________________ > PythonCE mailing list > PythonCE at python.org > http://mail.python.org/mailman/listinfo/pythonce > > > From andy at andybak.net Thu Jan 5 11:53:54 2006 From: andy at andybak.net (Andy Baker) Date: Thu, 5 Jan 2006 10:53:54 +0000 Subject: [PythonCE] Python 2.3.5 for Windows CE / ARM (Pocket PC 2003) In-Reply-To: <43BCE806.4030807@pcblokes.com> References: <1169.4.250.165.155.1136405907.squirrel@webmail.eden.rutgers.edu> <43BCE806.4030807@pcblokes.com> Message-ID: <85d9ccbb0601050253o21f89c50maa241ca35e1809d5@mail.gmail.com> Regarding the Win32 extensions... Is there a document that lists: 1. What does work. 2. What wont work because it's not relevant to WinCE 3. What could work given some extra work I am particularly interesting in Win32.com.client which as I understand it doesn't work. Could it potentially work? WinCE does have COM as far as I know but I don't know what differences there are. On 1/5/06, Michael Foord wrote: > javirosa at eden.rutgers.edu 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 at python.org > >> > >>To subscribe or unsubscribe via the World Wide Web, visit > >> http://mail.python.org/mailman/listinfo/pythonce > >>or, via email, send a message with subject or body 'help' to > >> pythonce-request at python.org > >> > >>You can reach the person managing the list at > >> pythonce-owner at python.org > >> > >>When replying, please edit your Subject line so it is more specific > >>than "Re: Contents of PythonCE digest..." > >> > >> > >>Today's Topics: > >> > >> 1. Python 2.3.5 for Windows CE / ARM (Pocket PC 2003) (Luke Dunstan) > >> 2. Re: [ctypes-users] Python 2.3.5 for Windows CE / ARM (Pocket > >> PC 2003) (Brad Clements) > >> > >> > >>---------------------------------------------------------------------- > >> > >>Message: 1 > >>Date: Tue, 3 Jan 2006 20:33:52 +0800 > >>From: "Luke Dunstan" > >>Subject: [PythonCE] Python 2.3.5 for Windows CE / ARM (Pocket PC 2003) > >>To: > >>Cc: ctypes-users at lists.sourceforge.net > >>Message-ID: > >>Content-Type: text/plain; format=flowed; charset="iso-8859-1"; > >> reply-type=original > >> > >> > >>A new release of Python for Windows CE is available. Download it here: > >> > >>http://sourceforge.net/project/showfiles.php?group_id=104228 > >> > >>The release notes are linked from this page, but a direct link is: > >> > >>http://sourceforge.net/project/shownotes.php?group_id=104228&release_id=382495 > >> > >> > >>Luke > >> > >> > >>------------------------------ > >> > >>Message: 2 > >>Date: Tue, 03 Jan 2006 09:55:47 -0500 > >>From: "Brad Clements" > >>Subject: Re: [PythonCE] [ctypes-users] Python 2.3.5 for Windows CE / > >> ARM (Pocket PC 2003) > >>To: > >>Message-ID: <43BA4A23.19348.479027C7 at bkc.murkworks.com> > >>Content-Type: text/plain; charset=US-ASCII > >> > >>On 3 Jan 2006 at 20:33, Luke Dunstan wrote: > >> > >> > >>>A new release of Python for Windows CE is available. Download it here: > >>> > >>>http://sourceforge.net/project/showfiles.php?group_id=104228 > >>> > >>>The release notes are linked from this page, but a direct link is: > >>> > >>>http://sourceforge.net/project/shownotes.php?group_id=104228&release_i > >>>d=382495 > >>> > >>> > >>>Luke > >> > >> > >>Thanks Luke for setting up this release. > >> > >>List folks -- Luke is now an official "developer' for the Python CE > >>project. > >>Welcome aboard! > >> > >> > >> > >> > >>-- > >>Brad Clements, bkc at murkworks.com (315)268-1000 > >>http://www.murkworks.com > >>AOL-IM or SKYPE: BKClements > >> > >> > >> > >> > >>------------------------------ > >> > >>_______________________________________________ > >>PythonCE mailing list > >>PythonCE at python.org > >>http://mail.python.org/mailman/listinfo/pythonce > >> > >> > >>End of PythonCE Digest, Vol 30, Issue 2 > >>*************************************** > >> > > > > > > > > _______________________________________________ > > PythonCE mailing list > > PythonCE at python.org > > http://mail.python.org/mailman/listinfo/pythonce > > > > > > > > _______________________________________________ > PythonCE mailing list > PythonCE at python.org > http://mail.python.org/mailman/listinfo/pythonce > From jeff_barish at earthlink.net Fri Jan 6 15:51:49 2006 From: jeff_barish at earthlink.net (Jeffrey Barish) Date: Fri, 6 Jan 2006 07:51:49 -0700 Subject: [PythonCE] Compiled version of Python 2.3.5 for Windows CE? Message-ID: <200601060751.49910.jeff_barish@earthlink.net> Would it be possible for someone to post a compiled version of Python 2.3.5 for Windows CE? I have been having difficulties downloading eMbedded Visual C++ 4.0. -- Jeffrey Barish From rc at simov.cl Fri Jan 6 15:56:09 2006 From: rc at simov.cl (=?ISO-8859-1?Q?Rodrigo_Contreras_K=F6brich?=) Date: Fri, 06 Jan 2006 11:56:09 -0300 Subject: [PythonCE] Yes, please compile it... Message-ID: <43BE8509.10305@simov.cl> Hi. I'm having the same troubles. From andy at andybak.net Fri Jan 6 17:01:47 2006 From: andy at andybak.net (Andy Baker) Date: Fri, 6 Jan 2006 16:01:47 +0000 Subject: [PythonCE] Yes, please compile it... In-Reply-To: <43BE8509.10305@simov.cl> References: <43BE8509.10305@simov.cl> Message-ID: <85d9ccbb0601060801h672d9e9dw3edc7de33a1595c8@mail.gmail.com> I've always had a complete nightmare everytime I've tried to compile something from source. I'm sure lots of people who are competant in Python are lost in the world of makefiles and such-like so I would like to vote for always keeping an up-to-date binary available. Andy Baker On 1/6/06, Rodrigo Contreras K?brich wrote: > Hi. > I'm having the same troubles. > _______________________________________________ > PythonCE mailing list > PythonCE at python.org > http://mail.python.org/mailman/listinfo/pythonce > From coder_infidel at hotmail.com Fri Jan 6 17:25:16 2006 From: coder_infidel at hotmail.com (Luke Dunstan) Date: Sat, 7 Jan 2006 00:25:16 +0800 Subject: [PythonCE] Yes, please compile it... References: <43BE8509.10305@simov.cl> <85d9ccbb0601060801h672d9e9dw3edc7de33a1595c8@mail.gmail.com> Message-ID: I'm not sure what you are trying to say. In an earlier message you replied to my announcement of the Python 2.3.5 release, but now you seem to be asking for a binary release. If so, have you tried the release? Rodrigo and Jeffrey, I also invite you to download the binaries mentioned in my email of a few days ago: http://mail.python.org/pipermail/pythonce/2006-January/001207.html Luke ----- Original Message ----- From: "Andy Baker" To: Sent: Saturday, January 07, 2006 12:01 AM Subject: Re: [PythonCE] Yes, please compile it... I've always had a complete nightmare everytime I've tried to compile something from source. I'm sure lots of people who are competant in Python are lost in the world of makefiles and such-like so I would like to vote for always keeping an up-to-date binary available. Andy Baker On 1/6/06, Rodrigo Contreras K?brich wrote: > Hi. > I'm having the same troubles. > _______________________________________________ > PythonCE mailing list > PythonCE at python.org > http://mail.python.org/mailman/listinfo/pythonce > _______________________________________________ PythonCE mailing list PythonCE at python.org http://mail.python.org/mailman/listinfo/pythonce From rc at simov.cl Fri Jan 6 17:19:32 2006 From: rc at simov.cl (=?ISO-8859-1?Q?Rodrigo_Contreras_K=F6brich?=) Date: Fri, 06 Jan 2006 13:19:32 -0300 Subject: [PythonCE] Empty project or Human Friendly Project? Message-ID: <43BE9894.3030700@simov.cl> I'm sure that the pythonce project will be one of the most exiting things happening in the future of mobile devices. I hate java, so i will support python till the end. But as Andy Baker just said "lots of people who are competent in Python are lost in the world of makefiles" and I must say that the Sourceforge page doesn't help at all. The forum is almost empty, there's is only one bug reported and when you click on the "home page" link you find out that there is NO HOME PAGE. Such a project with such few content. The only way to succeed here will be showing the efforts of the project... In Sourceforge there are rather hidden... I think there are two critical items missing in the TODO list: 1. A compiled version of pythonce. 2. A human readable and user friendly homepage (and yes, a blog would be just fine to show advances and related news). Bye. rc. From theller at python.net Fri Jan 6 17:53:10 2006 From: theller at python.net (Thomas Heller) Date: Fri, 06 Jan 2006 17:53:10 +0100 Subject: [PythonCE] Python 2.3.5 for Windows CE / ARM (Pocket PC 2003) References: <1169.4.250.165.155.1136405907.squirrel@webmail.eden.rutgers.edu> <43BCE806.4030807@pcblokes.com> <85d9ccbb0601050253o21f89c50maa241ca35e1809d5@mail.gmail.com> Message-ID: Andy Baker writes: > Regarding the Win32 extensions... > > Is there a document that lists: > 1. What does work. > 2. What wont work because it's not relevant to WinCE > 3. What could work given some extra work > > I am particularly interesting in Win32.com.client which as I > understand it doesn't work. Could it potentially work? WinCE does have > COM as far as I know but I don't know what differences there are. I cannot answer these questions, but I'll try to get comtypes working. Are there 'interesting' COM objects on a Pocket PC 2003 to experiment with? Thanks, Thomas From stewart.midwinter at gmail.com Fri Jan 6 17:59:43 2006 From: stewart.midwinter at gmail.com (Stewart Midwinter) Date: Fri, 6 Jan 2006 09:59:43 -0700 Subject: [PythonCE] Empty project or Human Friendly Project? In-Reply-To: <43BE9894.3030700@simov.cl> References: <43BE9894.3030700@simov.cl> Message-ID: tienes raz?n Rodrigo! The SF project doesn't have a home page. Perhaps one of the current developers, bkc, kashtan, pfalcon can make it happen or delegate the job to one of us (I can help). Do we get a space on SF to create the home page, or do we have to host it elsewhere? If so, I note that the domain pythonce.org is available! cheers, -- Stewart Midwinter Python 2.3.4 on Toshiba e830 stewart at midwinter.ca stewart.midwinter at gmail.com Skype, GoogleTalk, iChatAV, MSN, Yahoo: midtoad AIM:midtoad1 From coder_infidel at hotmail.com Fri Jan 6 18:00:40 2006 From: coder_infidel at hotmail.com (Luke Dunstan) Date: Sat, 7 Jan 2006 01:00:40 +0800 Subject: [PythonCE] Empty project or Human Friendly Project? References: <43BE9894.3030700@simov.cl> Message-ID: If you are not at all familiar with SourceForge then I can imagine that you might have missed the binary releases. First go here: http://sourceforge.net/project/showfiles.php?group_id=104228 Under the package "pythonce" you will see a number of "releases", including: Python-2.3.5-20051223 Python-2.3.4/HPC-2000 Python/CE 2.3.4-1 Each release has a +/- button next to it to expand the list of files contained in that release, but the first one (2.3.5) should already be expanded. Next to each release you will also see a link [Notes] which shows the release notes. Please read the release notes for the 2.3.5 release: http://sourceforge.net/project/shownotes.php?release_id=382495&group_id=104228 >From there you should be able to figure out which files to download. Basically though, the zip files contain the source and the file "PythonCE-2.3.5-20051223-setup.exe" contains the binary installer. Here is a direct link to file, where you can select a download mirror or use the default: http://prdownloads.sourceforge.net/pythonce/PythonCE-2.3.5-20051223-setup.exe?download As for the web page, I agree that it would be nice to have something there but writing web pages is not really my area of expertise or interest, so you are welcome to write something yourself. I would prefer a wiki for the main documentation so maybe we can either create one or use an existing one like http://wiki.python.org/moin/FrontPage or http://www.murkworks.com/Research/Python/PythonCE/PythonCEWiki/FrontPage ??? Luke ----- Original Message ----- From: "Rodrigo Contreras K?brich" To: Sent: Saturday, January 07, 2006 12:19 AM Subject: [PythonCE] Empty project or Human Friendly Project? > I'm sure that the pythonce project will be one of the most exiting > things happening in the future of mobile devices. I hate java, so i will > support python till the end. > But as Andy Baker just said "lots of people who are competent in Python > are lost in the world of makefiles" and I must say that the Sourceforge > page doesn't help at all. > The forum is almost empty, there's is only one bug reported and when you > click on the "home page" link you find out that there is NO HOME PAGE. > Such a project with such few content. The only way to succeed here will > be showing the efforts of the project... In Sourceforge there are rather > hidden... > > I think there are two critical items missing in the TODO list: > > 1. A compiled version of pythonce. > 2. A human readable and user friendly homepage (and yes, a blog would be > just fine to show advances and related news). > > Bye. > > rc. > _______________________________________________ > PythonCE mailing list > PythonCE at python.org > http://mail.python.org/mailman/listinfo/pythonce > From stewart.midwinter at gmail.com Fri Jan 6 18:09:47 2006 From: stewart.midwinter at gmail.com (Stewart Midwinter) Date: Fri, 6 Jan 2006 10:09:47 -0700 Subject: [PythonCE] Empty project or Human Friendly Project? In-Reply-To: References: <43BE9894.3030700@simov.cl> Message-ID: On 1/6/06, Luke Dunstan wrote: > As for the web page, I agree that it would be nice to have something there > but writing web pages is not really my area of expertise or interest, so you > are welcome to write something yourself. I would prefer a wiki for the main > documentation so maybe we can either create one or use an existing one like > http://wiki.python.org/moin/FrontPage or > http://www.murkworks.com/Research/Python/PythonCE/PythonCEWiki/FrontPage ??? Either would be fine by me. The wiki at murkworks is already set up and specific to this project, so easier to start with. I note however that the last entry there was 3 years ago. Brad Clements, the wiki admin, is one of the pythonce developers though, so Brad can you tell us if the location is still considered 'temporary' or whether we could make use of it for some time? Luke, is it possible to create a home page on SF that does nothing more than redirect to another location? Must be, since I see other projects doing something similar. I'll be happy to sign up and make it happen, if it will help. cheers S -- Stewart Midwinter stewart at midwinter.ca stewart.midwinter at gmail.com Skype, GoogleTalk, iChatAV, MSN, Yahoo: midtoad AIM:midtoad1 From coder_infidel at hotmail.com Fri Jan 6 18:21:48 2006 From: coder_infidel at hotmail.com (Luke Dunstan) Date: Sat, 7 Jan 2006 01:21:48 +0800 Subject: [PythonCE] Empty project or Human Friendly Project? References: <43BE9894.3030700@simov.cl> Message-ID: SourceForge provides hosting with nice features like scripting and MySQL, documented here: http://sourceforge.net/docman/display_doc.php?docid=4297&group_id=1 Alternatively, a project administrator can change the "Home Page" link to point to another site. It's not obvious to me how to edit the MurkWorks wiki but hopefully editing is just disabled temporarily. Luke ----- Original Message ----- From: "Stewart Midwinter" To: "Rodrigo Contreras K?brich" Cc: Sent: Saturday, January 07, 2006 12:59 AM Subject: Re: [PythonCE] Empty project or Human Friendly Project? tienes raz?n Rodrigo! The SF project doesn't have a home page. Perhaps one of the current developers, bkc, kashtan, pfalcon can make it happen or delegate the job to one of us (I can help). Do we get a space on SF to create the home page, or do we have to host it elsewhere? If so, I note that the domain pythonce.org is available! cheers, -- Stewart Midwinter Python 2.3.4 on Toshiba e830 stewart at midwinter.ca stewart.midwinter at gmail.com Skype, GoogleTalk, iChatAV, MSN, Yahoo: midtoad AIM:midtoad1 _______________________________________________ PythonCE mailing list PythonCE at python.org http://mail.python.org/mailman/listinfo/pythonce From rc at simov.cl Fri Jan 6 18:22:54 2006 From: rc at simov.cl (=?ISO-8859-1?Q?Rodrigo_Contreras_K=F6brich?=) Date: Fri, 06 Jan 2006 14:22:54 -0300 Subject: [PythonCE] that's it... Message-ID: <43BEA76E.9080109@simov.cl> That would be very useful, Steward... I'm very interested in helping, too. From stewart.midwinter at gmail.com Fri Jan 6 18:37:27 2006 From: stewart.midwinter at gmail.com (Stewart Midwinter) Date: Fri, 6 Jan 2006 10:37:27 -0700 Subject: [PythonCE] Empty project or Human Friendly Project? In-Reply-To: References: <43BE9894.3030700@simov.cl> Message-ID: On 1/6/06, Luke Dunstan wrote: > It's not obvious to me how to edit the MurkWorks wiki but hopefully editing > is just disabled temporarily. I see on the 'contributors' page on the Murkworks site the following comment: "Please ask Brad for setting your username and password if you want participate." So it seems that there is a manual process for getting approved to edit that wiki. If Brad is around, perhaps he'd like to comment on whether he would like to see more use made of the wiki. s From rc at simov.cl Fri Jan 6 18:32:16 2006 From: rc at simov.cl (=?ISO-8859-1?Q?Rodrigo_Contreras_K=F6brich?=) Date: Fri, 06 Jan 2006 14:32:16 -0300 Subject: [PythonCE] oops.. Message-ID: <43BEA9A0.5050105@simov.cl> I apologize to the developers. I've just found the CAB file. But I will keep my ideas about the lack of human-friendlyness of the project. One of the important things about a future homepage is that we all users of pythonce will be able to post samples and code in order to make the thing more and more popular. As soon as I get it to work on my iPAQ I will start to post my advances on my page. The pythonce.org space will be the best place to do it, of course. Bye, again. rc. PS: Hey, this is not spam, ok? From pdemb at gazeta.pl Fri Jan 6 20:21:12 2006 From: pdemb at gazeta.pl (Peter Dembinski) Date: Fri, 06 Jan 2006 20:21:12 +0100 Subject: [PythonCE] PythonCE 1.5.2 for XScale? Message-ID: I know CPython 1.5.2 is deprecated, but does anyone have a PythonCE version 1.5.2 compiled for XScale processors? -- http://www.peter.dembinski.prv.pl From rc at simov.cl Fri Jan 6 20:28:51 2006 From: rc at simov.cl (=?ISO-8859-1?Q?Rodrigo_Contreras_K=F6brich?=) Date: Fri, 06 Jan 2006 16:28:51 -0300 Subject: [PythonCE] Tkinter in pythonce... Message-ID: <43BEC4F3.5000905@simov.cl> Hi. I installed the CAB file in my PDA. The first thing I wanted to test was the GUI capabilities, so I tried to run the following code (which compiles nicely in the PC version): from Tkinter import * root = Tk() myContainer1 = Frame(root) ### (1) myContainer1.pack() ### (2) root.mainloop() But pythonce raises an error code: No module named Tkinter. I noticed that there is a file named '_tkinter.pyd' at the DLLs folder. What should I do? Bye. From bkc at murkworks.com Fri Jan 6 20:36:34 2006 From: bkc at murkworks.com (Brad Clements) Date: Fri, 06 Jan 2006 14:36:34 -0500 Subject: [PythonCE] Empty project or Human Friendly Project? In-Reply-To: References: <43BE9894.3030700@simov.cl> Message-ID: <43BE8072.30544.10033B23@bkc.murkworks.com> On 6 Jan 2006 at 9:59, Stewart Midwinter wrote: > tienes raz?n Rodrigo! > > The SF project doesn't have a home page. Perhaps one of the current > developers, bkc, kashtan, pfalcon can make it happen or delegate the > job to one of us (I can help). Do we get a space on SF to create the > home page, or do we have to host it elsewhere? If so, I note that the > domain pythonce.org is available! SF provides hosting space for the web page, or we can just put the home page somewhere else. I've never setup web pages on SF before. I wonder if they have webdav support or something. It's been ages since I've done a static page.. heh. I'm happy for volunteers.. What content do we need? There's some old how-to's on the murkworks research wiki, it's out of date http://www.murkworks.com/Research/Python/PythonCE/PythonCEWiki/FrontPage -- Brad Clements, bkc at murkworks.com (315)268-1000 http://www.murkworks.com AOL-IM or SKYPE: BKClements From tlesher at gmail.com Fri Jan 6 20:30:27 2006 From: tlesher at gmail.com (Tim Lesher) Date: Fri, 6 Jan 2006 14:30:27 -0500 Subject: [PythonCE] Empty project or Human Friendly Project? In-Reply-To: References: <43BE9894.3030700@simov.cl> Message-ID: <9613db600601061130l56f81410j8bf45065b56046db@mail.gmail.com> I think one of the issues that really hurts PythonCE is the fact that it's not part of the mainline, so its availability and status is always questionable. A few weeks ago on the core python-dev mailing list, Guido weighed in on this: "My reason for wanting people to contribute ports back is that if they don't, the port is more likely to stick on some ancient version of Python (e.g. I believe Nokia is still at 2.2.2). Then, assuming the port remains popular, its users are going to pressure developers of general Python packages to provide support for old versions of Python. While I agree that maintaining port-specific code is a pain whenever Python is upgraded, I still think that accepting patches for odd-platform ports is the better alternative. Even if the patches deteriorate as Python evolves, they should still (in principle) make a re-port easier." Just my opinion, but I don't think PythonCE will get much traction unless and until someone decides to clean up the build and contribute it back to the core. -- Tim Lesher From jeff_barish at earthlink.net Fri Jan 6 20:38:23 2006 From: jeff_barish at earthlink.net (Jeffrey Barish) Date: Fri, 6 Jan 2006 12:38:23 -0700 Subject: [PythonCE] Compiled version of Python 2.3.5 for Windows CE? Message-ID: <200601061238.23693.jeff_barish@earthlink.net> Thank you for the additional information. The description of PythonCE-2.3.5-20051223-setup.exe in the release notes says that the program registers the .cab file and allows easy installation, but doesn't mention that it includes the binary. Maybe that's obvious to people who know Windows CE better than I do. I have managed to install PythonCE-2.3.5. There is an icon and tapping it runs python 2.3.5. I can import wx and Pyro. However, when I tap on one of my programs (using file explorer), I now get the message: The file 'xxx' cannot be opened. Either it is not signed with a trusted certificate, or one of its components cannot be found. You might need to reinstall or restore this file. Did I do something wrong in the installation? -- Jeffrey Barish From bkc at murkworks.com Fri Jan 6 20:38:59 2006 From: bkc at murkworks.com (Brad Clements) Date: Fri, 06 Jan 2006 14:38:59 -0500 Subject: [PythonCE] Empty project or Human Friendly Project? In-Reply-To: References: Message-ID: <43BE8103.15713.10057275@bkc.murkworks.com> On 6 Jan 2006 at 10:09, Stewart Midwinter wrote: > Either would be fine by me. The wiki at murkworks is already set up > and specific to this project, so easier to start with. I note however > that the last entry there was 3 years ago. Brad Clements, the wiki > admin, is one of the pythonce developers though, so Brad can you tell > us if the location is still considered 'temporary' or whether we could > make use of it for some time? The wiki is not intended to be temporary. It's an old version of zwiki, should probably be updated and I need to do something about self-provisioning accounts. I think it's closed to editing due to spam. > > Luke, is it possible to create a home page on SF that does nothing > more than redirect to another location? Must be, since I see other > projects doing something similar. I'll be happy to sign up and make > it happen, if it will help. I can make a redirect page easily enough. But having a wiki for the home page sufficient? Should I setup a Trac site instead? What about spam control? -- Brad Clements, bkc at murkworks.com (315)268-1000 http://www.murkworks.com AOL-IM or SKYPE: BKClements From bkc at murkworks.com Fri Jan 6 20:40:52 2006 From: bkc at murkworks.com (Brad Clements) Date: Fri, 06 Jan 2006 14:40:52 -0500 Subject: [PythonCE] Empty project or Human Friendly Project? In-Reply-To: References: Message-ID: <43BE8174.10659.10072BFC@bkc.murkworks.com> On 6 Jan 2006 at 10:37, Stewart Midwinter wrote: > I see on the 'contributors' page on the Murkworks site the following > comment: "Please ask Brad for setting your username and password if > you want participate." > > So it seems that there is a manual process for getting approved to > edit that wiki. If Brad is around, perhaps he'd like to comment on > whether he would like to see more use made of the wiki. yes I would I think I turned off anonymous commenting and editing due to spam overload. Telion has disappeared, he was maintaining the wiki contents. It's an old zwiki.. Should I move to Trac or something else instead? I can continue to host it. -- Brad Clements, bkc at murkworks.com (315)268-1000 http://www.murkworks.com AOL-IM or SKYPE: BKClements From bkc at murkworks.com Fri Jan 6 20:51:31 2006 From: bkc at murkworks.com (Brad Clements) Date: Fri, 06 Jan 2006 14:51:31 -0500 Subject: [PythonCE] Empty project or Human Friendly Project? In-Reply-To: <9613db600601061130l56f81410j8bf45065b56046db@mail.gmail.com> References: Message-ID: <43BE83F3.13878.1010ECEF@bkc.murkworks.com> On 6 Jan 2006 at 14:30, Tim Lesher wrote: > Just my opinion, but I don't think PythonCE will get much traction > unless and until someone decides to clean up the build and contribute > it back to the core. -- Tim Lesher For sure, and a few years back I started down that road. Older versions of Windows CE have big incompatibability issues. I tried, for example, to cleanup NaN handling in various places, getpath.c implementation and so on. My cleanup was done via C macros that would be "compiled out" on standard platforms. I sent a few trial balloons up to the python-dev list, but my approach was not generally liked. I had spent hours editing code to stick these damn macros in, and while it worked, it apparently wasn't an acceptable solution. Unfortunately I can't remember now exactly what the story was.. anyway, for as much as I've tried to get my clients interested in Python on CE, I've never had any interest from any of them. So my Python CE support has been low. Combine that with the difficult problem of integrating the CE port back into the mainline code and .. I have just let the project slip by. Anyway.. it would be great to get our changes back into the mainline code, but I don't think it's a simple problem to solve.. :-( -- Brad Clements, bkc at murkworks.com (315)268-1000 http://www.murkworks.com AOL-IM or SKYPE: BKClements From tlesher at gmail.com Fri Jan 6 22:10:02 2006 From: tlesher at gmail.com (Tim Lesher) Date: Fri, 6 Jan 2006 16:10:02 -0500 Subject: [PythonCE] Empty project or Human Friendly Project? In-Reply-To: <43BE83F3.13878.1010ECEF@bkc.murkworks.com> References: <9613db600601061130l56f81410j8bf45065b56046db@mail.gmail.com> <43BE83F3.13878.1010ECEF@bkc.murkworks.com> Message-ID: <9613db600601061310l13f5ed9cn75ee2d9c37ccd584@mail.gmail.com> On 1/6/06, Brad Clements wrote: > Older versions of Windows CE have big incompatibability issues. New ones, too. :-) Especially on non-PocketPC devices. > Anyway.. it would be great to get our changes back into the mainline code, but I > don't think it's a simple problem to solve.. :-( Believe me, I understand--crossplatform development isn't easy, and Windows CE is specifically warped enough to make it worse. Just so we're perfectly clear, I certainly don't mean to discount the work you've done to date on the port--many thanks for that. -- Tim Lesher From kashtan at Validus.Com Fri Jan 6 22:43:56 2006 From: kashtan at Validus.Com (David L. Kashtan) Date: Fri, 06 Jan 2006 13:43:56 -0800 Subject: [PythonCE] Empty project or Human Friendly Project? In-Reply-To: <9613db600601061130l56f81410j8bf45065b56046db@mail.gmail.com> References: <43BE9894.3030700@simov.cl> <9613db600601061130l56f81410j8bf45065b56046db@mail.gmail.com> Message-ID: <43BEE49C.5060204@validus.com> Tim Lesher wrote: > I think one of the issues that really hurts PythonCE is the fact that > it's not part of the mainline, so its availability and status is > always questionable. This is indeed the big issue. When I did the original PythonCE port of 2.3.4 one of my big objectives was to do it as a compatibility layer to Win32 -- so it could easily integrate into the mainline source development and the burden for me to keep it current would then be small. I tried to get it back into the Mainline but (and my memory is fuzzy here) my attempt to arrange the integration with the mainline python developers went nowhere. I have not looked at the 2.3.5 work that was done, but I would hope that it was disciplined enough to keep the compatibility layer technique intact. If somebody could deal with the political issues of getting integrated with the mainline development, the technical work should not be too bad. Please let me know if there is anything I can do to help. David Kashtan Validus Medical Systems Inc. From rc at simov.cl Fri Jan 6 23:06:48 2006 From: rc at simov.cl (=?ISO-8859-1?Q?Rodrigo_Contreras_K=F6brich?=) Date: Fri, 06 Jan 2006 19:06:48 -0300 Subject: [PythonCE] "political issues"? Message-ID: <43BEE9F8.8070307@simov.cl> Hi, David: I'm new to the list, but I'm paying a lot of attention to every message and I must say that today the discussion got very spicy. Can you explain a little what dealing with the "political issues of getting integrated with the mainline development" means? The Nokia implementation of Python is well known and I really can't figure out why they don't have PPC in mind. It seams that the term "political issues" is very inappropriate for an open source project. Who won't be glad to have a first-hand well documented version of pythonce? Rc. From bkc at murkworks.com Fri Jan 6 23:39:07 2006 From: bkc at murkworks.com (Brad Clements) Date: Fri, 06 Jan 2006 17:39:07 -0500 Subject: [PythonCE] "political issues" - integration attempt history In-Reply-To: <43BEE9F8.8070307@simov.cl> Message-ID: <43BEAB3B.348.10AA5C99@bkc.murkworks.com> On 6 Jan 2006 at 19:06, Rodrigo Contreras K?brich wrote: > I'm new to the list, but I'm paying a lot of attention to every > message and I must say that today the discussion got very spicy. Can > you explain a little what dealing with the "political issues of > getting integrated with the mainline development" means? The Nokia > implementation of Python is well known and I really can't figure out > why they don't have PPC in mind. It seams that the term "political > issues" is very inappropriate for an open source project. Who won't be > glad to have a first-hand well documented version of pythonce? Whoa. I hope that my earlier posts didn't imply any "political" issues. I submitted a patch to python-dev, it wasn't up to snuff.. But I wasn't motivated to rework it enough to get it accepted. I don't want anyone to have the false impression that I was disappointed by the response I received from python-dev folks. It's a hard problem. Now google has reminded me the big issue was assignment to errno is not allowed on CE because errno is not a variable on the CE platform. Start with this thread http://mail.python.org/pipermail/python-dev/2002-September/028884.html Of more interest is gvr's response: http://mail.python.org/pipermail/python-dev/2002-September/028893.html And this problem, reserved keywords: http://mail.python.org/pipermail/python-dev/2002-September/028905.html I think those two threads, from 2002, pretty much cooled me to the idea of re- integration. (note I was also trying to support Python on NetWare, which had similar issues with errno) NetWare is dead now, but CE remains.. ;-) -- Brad Clements, bkc at murkworks.com (315)268-1000 http://www.murkworks.com AOL-IM or SKYPE: BKClements From kashtan at Validus.Com Fri Jan 6 23:46:19 2006 From: kashtan at Validus.Com (David L. Kashtan) Date: Fri, 06 Jan 2006 14:46:19 -0800 Subject: [PythonCE] "political issues"? In-Reply-To: <43BEE9F8.8070307@simov.cl> References: <43BEE9F8.8070307@simov.cl> Message-ID: <43BEF33B.6020708@validus.com> This is just conjecture on my part, but having been elbow-deep in the Python 2.3.4 code, I don't think multi-platform was much of a concern for Python in the early days. When you don't have a multi-platform (in this case Multi-OS) architecture in place early-on, the code slowly becomes less and less maintainable because of all the conditionals the developers have to deal with. I think this is pretty much the problem Brad dealt with when he attempted to put his Python 1.5 port into the mainline. With a lot of MACROS going in, the Mainline developers were reluctant to deal with it. That is one of the reasons why I went with a compatability layer to make PythonCE as close to Win32 Python as possible. David Rodrigo Contreras K?brich wrote: > > I'm new to the list, but I'm paying a lot of attention to every message > and I must say that today the discussion got very spicy. > Can you explain a little what dealing with the "political issues of > getting integrated with the mainline development" means? > The Nokia implementation of Python is well known and I really can't > figure out why they don't have PPC in mind. > It seams that the term "political issues" is very inappropriate for an > open source project. > Who won't be glad to have a first-hand well documented version of pythonce? > > Rc. From michaelmurdock at gmail.com Fri Jan 6 23:13:39 2006 From: michaelmurdock at gmail.com (Michael Murdock) Date: Fri, 6 Jan 2006 15:13:39 -0700 Subject: [PythonCE] PythonCE Digest, Vol 30, Issue 5 In-Reply-To: References: Message-ID: Hello, Thomas Heller wrote: >> I cannot answer these questions, but I'll try to get comtypes working. >> Are there 'interesting' COM objects on a Pocket PC 2003 to experiment >> with? I would _love_ to get COM access from inside PythonCE because I want to be able to control Pocket Outlook. Here's an excerpt from an MSDN SDK Documentation for Windows Mobile-Based Pocket PCs: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/guide_ppc/html/ppc_conpocketoutlookobjectmodel.asp "Pocket Outlook Object Model The Pocket Outlook Object Model (POOM) API provides access to Personal Information Manager (PIM) data on Pocket PCs and Smartphones running Microsoft Windows Mobile 2000 software and later. The POOM API mirrors the desktop version of the Outlook Object Model but has a smaller scope of functionality to accommodate the practical constraints of mobile devices. The POOM API is a COM-based library that provides programmatic access to Pocket Outlook data items and their container objects. The POOM API provides an object-oriented framework for creating, modifying, and displaying appointment, task, and contact items. It also provides functionality for manipulating PIM item collections and folders. Note: The Microsoft Windows Mobile 2003 SDK ships with a code sample, named "POOMMaster," that uses the POOM API. The default location for the installed code sample is C:\Program Files\Windows CE Tools\wce420\POCKET 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. From dblanchard at gmail.com Sat Jan 7 01:27:53 2006 From: dblanchard at gmail.com (Duane Blanchard) Date: Fri, 6 Jan 2006 16:27:53 -0800 Subject: [PythonCE] PythonCE Digest, Vol 30, Issue 6 In-Reply-To: References: Message-ID: Hi, I've been lurking on the list and playing a little with PythonCE. Very cool stuff here. Thanks to all the developers, many thanks. I'm not a very talented coder, yet, but am willing to do the footwork of getting an SF page for the project. It seems to me that everyone would want this. Are there any objections before I go ahead and do it? Thanks, Duane On 1/6/06, pythonce-request at python.org wrote: > Send PythonCE mailing list submissions to > pythonce at python.org > > To subscribe or unsubscribe via the World Wide Web, visit > http://mail.python.org/mailman/listinfo/pythonce > or, via email, send a message with subject or body 'help' to > pythonce-request at python.org > > You can reach the person managing the list at > pythonce-owner at python.org > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of PythonCE digest..." > > > Today's Topics: > > 1. Re: Empty project or Human Friendly Project? (Stewart Midwinter) > 2. oops.. (Rodrigo Contreras K?brich) > 3. PythonCE 1.5.2 for XScale? (Peter Dembinski) > 4. Tkinter in pythonce... (Rodrigo Contreras K?brich) > 5. Re: Empty project or Human Friendly Project? (Brad Clements) > 6. Re: Empty project or Human Friendly Project? (Tim Lesher) > 7. Compiled version of Python 2.3.5 for Windows CE? (Jeffrey Barish) > 8. Re: Empty project or Human Friendly Project? (Brad Clements) > 9. Re: Empty project or Human Friendly Project? (Brad Clements) > 10. Re: Empty project or Human Friendly Project? (Brad Clements) > 11. Re: Empty project or Human Friendly Project? (Tim Lesher) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Fri, 6 Jan 2006 10:37:27 -0700 > From: Stewart Midwinter > Subject: Re: [PythonCE] Empty project or Human Friendly Project? > To: Luke Dunstan > Cc: pythonce at python.org > Message-ID: > > Content-Type: text/plain; charset=ISO-8859-1 > > On 1/6/06, Luke Dunstan wrote: > > It's not obvious to me how to edit the MurkWorks wiki but hopefully editing > > is just disabled temporarily. > > I see on the 'contributors' page on the Murkworks site the following comment: > "Please ask Brad for setting your username and password if you want > participate." > > So it seems that there is a manual process for getting approved to > edit that wiki. If Brad is around, perhaps he'd like to comment on > whether he would like to see more use made of the wiki. > > s > > > ------------------------------ > > Message: 2 > Date: Fri, 06 Jan 2006 14:32:16 -0300 > From: Rodrigo Contreras K?brich > Subject: [PythonCE] oops.. > To: pythonce at python.org > Message-ID: <43BEA9A0.5050105 at simov.cl> > Content-Type: text/plain; charset=us-ascii; format=flowed > > I apologize to the developers. I've just found the CAB file. > But I will keep my ideas about the lack of human-friendlyness of the > project. > > One of the important things about a future homepage is that we all users > of pythonce will be able to post samples and code in order to make the > thing more and more popular. > As soon as I get it to work on my iPAQ I will start to post my advances > on my page. The pythonce.org space will be the best place to do it, of > course. > > Bye, again. > > rc. > > PS: Hey, this is not spam, ok? > > > ------------------------------ > > Message: 3 > Date: Fri, 06 Jan 2006 20:21:12 +0100 > From: "Peter Dembinski" > Subject: [PythonCE] PythonCE 1.5.2 for XScale? > To: pythonce at python.org > Message-ID: > Content-Type: text/plain; format=flowed; delsp=yes; charset=us-ascii > > I know CPython 1.5.2 is deprecated, but does anyone have a PythonCE > version 1.5.2 compiled for XScale processors? > > -- > http://www.peter.dembinski.prv.pl > > > > > ------------------------------ > > Message: 4 > Date: Fri, 06 Jan 2006 16:28:51 -0300 > From: Rodrigo Contreras K?brich > Subject: [PythonCE] Tkinter in pythonce... > To: pythonce at python.org > Message-ID: <43BEC4F3.5000905 at simov.cl> > Content-Type: text/plain; charset=ISO-8859-1; format=flowed > > Hi. > > I installed the CAB file in my PDA. > The first thing I wanted to test was the GUI capabilities, so I tried to > run the following code (which compiles nicely in the PC version): > > from Tkinter import * > > root = Tk() > > myContainer1 = Frame(root) ### (1) > myContainer1.pack() ### (2) > > root.mainloop() > > But pythonce raises an error code: No module named Tkinter. > > I noticed that there is a file named '_tkinter.pyd' at the DLLs folder. > What should I do? > > Bye. > > > ------------------------------ > > Message: 5 > Date: Fri, 06 Jan 2006 14:36:34 -0500 > From: "Brad Clements" > Subject: Re: [PythonCE] Empty project or Human Friendly Project? > To: pythonce at python.org > Message-ID: <43BE8072.30544.10033B23 at bkc.murkworks.com> > Content-Type: text/plain; charset=ISO-8859-1 > > On 6 Jan 2006 at 9:59, Stewart Midwinter wrote: > > > tienes raz?n Rodrigo! > > > > The SF project doesn't have a home page. Perhaps one of the current > > developers, bkc, kashtan, pfalcon can make it happen or delegate the > > job to one of us (I can help). Do we get a space on SF to create the > > home page, or do we have to host it elsewhere? If so, I note that the > > domain pythonce.org is available! > > SF provides hosting space for the web page, or we can just put the home page > somewhere else. > > I've never setup web pages on SF before. I wonder if they have webdav support > or something. > > It's been ages since I've done a static page.. heh. > > I'm happy for volunteers.. What content do we need? > > There's some old how-to's on the murkworks research wiki, it's out of date > > http://www.murkworks.com/Research/Python/PythonCE/PythonCEWiki/FrontPage > > > > > -- > Brad Clements, bkc at murkworks.com (315)268-1000 > http://www.murkworks.com > AOL-IM or SKYPE: BKClements > > > > > ------------------------------ > > Message: 6 > Date: Fri, 6 Jan 2006 14:30:27 -0500 > From: Tim Lesher > Subject: Re: [PythonCE] Empty project or Human Friendly Project? > To: pythonce at python.org > Message-ID: > <9613db600601061130l56f81410j8bf45065b56046db at mail.gmail.com> > Content-Type: text/plain; charset=ISO-8859-1 > > I think one of the issues that really hurts PythonCE is the fact that > it's not part of the mainline, so its availability and status is > always questionable. > > A few weeks ago on the core python-dev mailing list, Guido weighed in on this: > > "My reason for wanting people to contribute ports back is that if they > don't, the port is more likely to stick on some ancient version of > Python (e.g. I believe Nokia is still at 2.2.2). Then, assuming the > port remains popular, its users are going to pressure developers of > general Python packages to provide support for old versions of Python. > > While I agree that maintaining port-specific code is a pain whenever > Python is upgraded, I still think that accepting patches for > odd-platform ports is the better alternative. Even if the patches > deteriorate as Python evolves, they should still (in principle) make a > re-port easier." > > Just my opinion, but I don't think PythonCE will get much traction > unless and until someone decides to clean up the build and contribute > it back to the core. > -- > Tim Lesher > > > ------------------------------ > > Message: 7 > Date: Fri, 6 Jan 2006 12:38:23 -0700 > From: Jeffrey Barish > Subject: [PythonCE] Compiled version of Python 2.3.5 for Windows CE? > To: pythonce at python.org > Message-ID: <200601061238.23693.jeff_barish at earthlink.net> > Content-Type: text/plain; charset="us-ascii" > > Thank you for the additional information. The description of > PythonCE-2.3.5-20051223-setup.exe in the release notes says that the program > registers the .cab file and allows easy installation, but doesn't mention > that it includes the binary. Maybe that's obvious to people who know Windows > CE better than I do. > > I have managed to install PythonCE-2.3.5. There is an icon and tapping it > runs python 2.3.5. I can import wx and Pyro. However, when I tap on one of > my programs (using file explorer), I now get the message: > > The file 'xxx' cannot be opened. Either it is not signed with a trusted > certificate, or one of its components cannot be found. You might need to > reinstall or restore this file. > > Did I do something wrong in the installation? > -- > Jeffrey Barish > > > ------------------------------ > > Message: 8 > Date: Fri, 06 Jan 2006 14:38:59 -0500 > From: "Brad Clements" > Subject: Re: [PythonCE] Empty project or Human Friendly Project? > To: pythonce at python.org > Message-ID: <43BE8103.15713.10057275 at bkc.murkworks.com> > Content-Type: text/plain; charset=US-ASCII > > On 6 Jan 2006 at 10:09, Stewart Midwinter wrote: > > > Either would be fine by me. The wiki at murkworks is already set up > > and specific to this project, so easier to start with. I note however > > that the last entry there was 3 years ago. Brad Clements, the wiki > > admin, is one of the pythonce developers though, so Brad can you tell > > us if the location is still considered 'temporary' or whether we could > > make use of it for some time? > > The wiki is not intended to be temporary. It's an old version of zwiki, should > probably be updated and I need to do something about self-provisioning > accounts. I think it's closed to editing due to spam. > > > > > Luke, is it possible to create a home page on SF that does nothing > > more than redirect to another location? Must be, since I see other > > projects doing something similar. I'll be happy to sign up and make > > it happen, if it will help. > > I can make a redirect page easily enough. But having a wiki for the home page > sufficient? > > Should I setup a Trac site instead? > > What about spam control? > > > > -- > Brad Clements, bkc at murkworks.com (315)268-1000 > http://www.murkworks.com > AOL-IM or SKYPE: BKClements > > > > > ------------------------------ > > Message: 9 > Date: Fri, 06 Jan 2006 14:40:52 -0500 > From: "Brad Clements" > Subject: Re: [PythonCE] Empty project or Human Friendly Project? > To: pythonce at python.org > Message-ID: <43BE8174.10659.10072BFC at bkc.murkworks.com> > Content-Type: text/plain; charset=US-ASCII > > On 6 Jan 2006 at 10:37, Stewart Midwinter wrote: > > > I see on the 'contributors' page on the Murkworks site the following > > comment: "Please ask Brad for setting your username and password if > > you want participate." > > > > So it seems that there is a manual process for getting approved to > > edit that wiki. If Brad is around, perhaps he'd like to comment on > > whether he would like to see more use made of the wiki. > > yes I would > > I think I turned off anonymous commenting and editing due to spam overload. > > Telion has disappeared, he was maintaining the wiki contents. > > It's an old zwiki.. Should I move to Trac or something else instead? > > I can continue to host it. > > > > -- > Brad Clements, bkc at murkworks.com (315)268-1000 > http://www.murkworks.com > AOL-IM or SKYPE: BKClements > > > > > ------------------------------ > > Message: 10 > Date: Fri, 06 Jan 2006 14:51:31 -0500 > From: "Brad Clements" > Subject: Re: [PythonCE] Empty project or Human Friendly Project? > To: pythonce at python.org > Message-ID: <43BE83F3.13878.1010ECEF at bkc.murkworks.com> > Content-Type: text/plain; charset=US-ASCII > > On 6 Jan 2006 at 14:30, Tim Lesher wrote: > > > Just my opinion, but I don't think PythonCE will get much traction > > unless and until someone decides to clean up the build and contribute > > it back to the core. -- Tim Lesher > > > For sure, > > and a few years back I started down that road. > > Older versions of Windows CE have big incompatibability issues. > > I tried, for example, to cleanup NaN handling in various places, getpath.c > implementation and so on. > > My cleanup was done via C macros that would be "compiled out" on standard > platforms. > > I sent a few trial balloons up to the python-dev list, but my approach was not > generally liked. > > I had spent hours editing code to stick these damn macros in, and while it > worked, it apparently wasn't an acceptable solution. > > > Unfortunately I can't remember now exactly what the story was.. anyway, for as > much as I've tried to get my clients interested in Python on CE, I've never had any > interest from any of them. So my Python CE support has been low. > > Combine that with the difficult problem of integrating the CE port back into the > mainline code and .. I have just let the project slip by. > > Anyway.. it would be great to get our changes back into the mainline code, but I > don't think it's a simple problem to solve.. :-( > > > > -- > Brad Clements, bkc at murkworks.com (315)268-1000 > http://www.murkworks.com > AOL-IM or SKYPE: BKClements > > > > > ------------------------------ > > Message: 11 > Date: Fri, 6 Jan 2006 16:10:02 -0500 > From: Tim Lesher > Subject: Re: [PythonCE] Empty project or Human Friendly Project? > To: Brad Clements > Cc: pythonce at python.org > Message-ID: > <9613db600601061310l13f5ed9cn75ee2d9c37ccd584 at mail.gmail.com> > Content-Type: text/plain; charset=ISO-8859-1 > > On 1/6/06, Brad Clements wrote: > > Older versions of Windows CE have big incompatibability issues. > > New ones, too. :-) Especially on non-PocketPC devices. > > > Anyway.. it would be great to get our changes back into the mainline code, but I > > don't think it's a simple problem to solve.. :-( > > Believe me, I understand--crossplatform development isn't easy, and > Windows CE is specifically warped enough to make it worse. > > Just so we're perfectly clear, I certainly don't mean to discount the > work you've done to date on the port--many thanks for that. > -- > Tim Lesher > > > ------------------------------ > > _______________________________________________ > PythonCE mailing list > PythonCE at python.org > http://mail.python.org/mailman/listinfo/pythonce > > > End of PythonCE Digest, Vol 30, Issue 6 > *************************************** > -- Duane Blanchard 206.280.1263 There are 10 kinds of people in the world; those who know binary and those who don't. From stewart.midwinter at gmail.com Sat Jan 7 04:49:39 2006 From: stewart.midwinter at gmail.com (Stewart Midwinter) Date: Fri, 6 Jan 2006 20:49:39 -0700 Subject: [PythonCE] Tkinter in pythonce... In-Reply-To: <43BEC4F3.5000905@simov.cl> References: <43BEC4F3.5000905@simov.cl> Message-ID: Rodrigo, no desesperes! Where do you have your python located? You probably need to add some code that tells python where to look for modules. you can do that with: sys.path.append('\\SD Card\\Program Files\\Python\\Lib') sys.path.append('\\SD Card\\Program Files\\Python\\Lib\\python23.zip\\lib-tk') (of course, change that to the location where your python is located). if you put the above into a file called sitecustomize.py in your python folder, whenever it starts, it will read this file so you don't have to put the code into your apps. Inside your python folder, you should have a lib folder which contains a pyton23.zip and a _tkinter.pyd. you may also have a setup-registry.py, which will edit your registry so that you can just double-click on python files to run them. You may also want to look around for a copy of osce.py, which gives you access to some of the features of the 'os' module on the desktop. HTH S From stewart.midwinter at gmail.com Sat Jan 7 04:53:26 2006 From: stewart.midwinter at gmail.com (Stewart Midwinter) Date: Fri, 6 Jan 2006 20:53:26 -0700 Subject: [PythonCE] Compiled version of Python 2.3.5 for Windows CE? In-Reply-To: <200601061238.23693.jeff_barish@earthlink.net> References: <200601061238.23693.jeff_barish@earthlink.net> Message-ID: Jeffrey, have you had a previous version of python installed? In previous versions there was a script called setup-registry.py. If you previously used this, maybe your registry does not now point to the new python installation. OTOH, if you never had python installed before, look for such a file and run it using the Setup Registry.lnk shortcut. cheers S On 1/6/06, Jeffrey Barish wrote: > I have managed to install PythonCE-2.3.5. There is an icon and tapping it > runs python 2.3.5. I can import wx and Pyro. However, when I tap on one of > my programs (using file explorer), I now get the message: > > The file 'xxx' cannot be opened. Either it is not signed with a trusted > certificate, or one of its components cannot be found. You might need to > reinstall or restore this file. -- Stewart Midwinter stewart at midwinter.ca stewart.midwinter at gmail.com Skype, GoogleTalk, iChatAV, MSN, Yahoo: midtoad AIM:midtoad1 From coder_infidel at hotmail.com Sat Jan 7 04:59:33 2006 From: coder_infidel at hotmail.com (Luke Dunstan) Date: Sat, 7 Jan 2006 11:59:33 +0800 Subject: [PythonCE] Tkinter in pythonce... References: <43BEC4F3.5000905@simov.cl> Message-ID: ----- Original Message ----- From: "Stewart Midwinter" To: "Rodrigo Contreras K?brich" Cc: Sent: Saturday, January 07, 2006 11:49 AM Subject: Re: [PythonCE] Tkinter in pythonce... > Rodrigo, no desesperes! > > Where do you have your python located? > > You probably need to add some code that tells python where to look for > modules. you can do that with: > sys.path.append('\\SD Card\\Program Files\\Python\\Lib') > sys.path.append('\\SD Card\\Program > Files\\Python\\Lib\\python23.zip\\lib-tk') This is not necessary because both of these directories are automatically in sys.path (just as on the desktop version of Python). If this is not the case then it is a bug. > > (of course, change that to the location where your python is located). > > if you put the above into a file called sitecustomize.py in your > python folder, whenever it starts, it will read this file so you don't > have to put the code into your apps. Thanks for the tip. I haven't used sitecustomise.py before but I do use .pth files to add my own directories to the search path. > Inside your python folder, you should have a lib folder which contains > a pyton23.zip and a _tkinter.pyd. you may also have a > setup-registry.py, which will edit your registry so that you can just > double-click on python files to run them. This is true of the 2.3.4 release but in the latest release the hierarchy looks like: \Program Files\Python\ - python.exe - python23.zip - python23.dll - DLLs\ - _tkinter.pyd - Lib\ This is intended to be the same as the desktop version of Python on Windows (except for the .zip file). > > You may also want to look around for a copy of osce.py, which gives > you access to some of the features of the 'os' module on the desktop. > > HTH > S You should already have an 'os' module. Or are there some specific functions that it doesn't include? Luke From coder_infidel at hotmail.com Sat Jan 7 05:00:50 2006 From: coder_infidel at hotmail.com (Luke Dunstan) Date: Sat, 7 Jan 2006 12:00:50 +0800 Subject: [PythonCE] Compiled version of Python 2.3.5 for Windows CE? References: <200601061238.23693.jeff_barish@earthlink.net> Message-ID: ----- Original Message ----- From: "Jeffrey Barish" To: Sent: Saturday, January 07, 2006 3:38 AM Subject: [PythonCE] Compiled version of Python 2.3.5 for Windows CE? > Thank you for the additional information. The description of > PythonCE-2.3.5-20051223-setup.exe in the release notes says that the > program > registers the .cab file and allows easy installation, but doesn't mention > that it includes the binary. Maybe that's obvious to people who know > Windows > CE better than I do. Perhaps the wording can be improved, but have you ever installed source code from an .exe file or a Windows CE .cab file? I haven't. > I have managed to install PythonCE-2.3.5. There is an icon and tapping it > runs python 2.3.5. I can import wx and Pyro. However, when I tap on one > of > my programs (using file explorer), I now get the message: > > The file 'xxx' cannot be opened. Either it is not signed with a trusted > certificate, or one of its components cannot be found. You might need to > reinstall or restore this file. I haven't seen this specific error message but I assume it is due to .py files not being properly associated with python.exe. > Did I do something wrong in the installation? > -- > Jeffrey Barish No, I simply haven't added the file associations to the CAB installer yet. I will try to do this for the next release but in the mean time copy the attached setup-registry.py to your PDA, run Python and then type: execfile('\\program files\\python\\setup-registry.py') The script can be placed anywhere though, this is just an example path. Luke -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: setup-registry.py Url: http://mail.python.org/pipermail/pythonce/attachments/20060107/7965e18c/attachment.asc From stewart.midwinter at gmail.com Sat Jan 7 05:13:22 2006 From: stewart.midwinter at gmail.com (Stewart Midwinter) Date: Fri, 6 Jan 2006 21:13:22 -0700 Subject: [PythonCE] Tkinter in pythonce... In-Reply-To: References: <43BEC4F3.5000905@simov.cl> Message-ID: thanks for the extra details on 2.3.5. I can see now that it's different from 2.3.4. and more compatible with the desktop version. I'd better install it and find out more! my comments about osce.py were directed at 2.3.4. Perhaps the newer version doesn't need it, or may not be able to use it. cheers S From coder_infidel at hotmail.com Sat Jan 7 05:17:31 2006 From: coder_infidel at hotmail.com (Luke Dunstan) Date: Sat, 7 Jan 2006 12:17:31 +0800 Subject: [PythonCE] Tkinter in pythonce 2.3.5... References: <43BEC4F3.5000905@simov.cl> Message-ID: Sorry, I was mistaken about one thing though: python23.zip\\lib-tk is not in sys.path by default (only Lib\\lib-tk is, but the Tkinter files are in the zip so that doesn't help). Luke ----- Original Message ----- From: "Stewart Midwinter" To: "Luke Dunstan" Cc: Sent: Saturday, January 07, 2006 12:13 PM Subject: Re: [PythonCE] Tkinter in pythonce... thanks for the extra details on 2.3.5. I can see now that it's different from 2.3.4. and more compatible with the desktop version. I'd better install it and find out more! my comments about osce.py were directed at 2.3.4. Perhaps the newer version doesn't need it, or may not be able to use it. cheers S From coder_infidel at hotmail.com Sat Jan 7 05:20:47 2006 From: coder_infidel at hotmail.com (Luke Dunstan) Date: Sat, 7 Jan 2006 12:20:47 +0800 Subject: [PythonCE] Tkinter in pythonce... References: <43BEC4F3.5000905@simov.cl> Message-ID: ----- Original Message ----- From: "Rodrigo Contreras K?brich" To: Sent: Saturday, January 07, 2006 3:28 AM Subject: [PythonCE] Tkinter in pythonce... > Hi. > > I installed the CAB file in my PDA. > The first thing I wanted to test was the GUI capabilities, so I tried to > run the following code (which compiles nicely in the PC version): > > from Tkinter import * The first thing I should say is that I know very little about Tkinter/Tcl/Tk so I'm not really personally able to support this part of the PythonCE port. The installer does include _tkinter.pyd merely as a convenience but it does not include the Tcl/Tk DLLs, partly because as I said I don't know enough about them but also because they are too large to include when only some people will use them. The Python part of Tkinter is also included but unfortunately they are not in the default sys.path. As per Stewart's suggestion you can use sitecustomize.py or another method to add '\\Program Files\\Python\\python23.zip\\lib-tk' to sys.path. In the next release I hope to fix this to be automatic. You still need to get Tcl/Tk DLLs from elsewhere though. Luke > root = Tk() > > myContainer1 = Frame(root) ### (1) > myContainer1.pack() ### (2) > > root.mainloop() > > But pythonce raises an error code: No module named Tkinter. > > I noticed that there is a file named '_tkinter.pyd' at the DLLs folder. > What should I do? > > Bye. > _______________________________________________ > PythonCE mailing list > PythonCE at python.org > http://mail.python.org/mailman/listinfo/pythonce > From stewart.midwinter at gmail.com Sat Jan 7 05:31:51 2006 From: stewart.midwinter at gmail.com (Stewart Midwinter) Date: Fri, 6 Jan 2006 21:31:51 -0700 Subject: [PythonCE] Tkinter in pythonce... In-Reply-To: References: <43BEC4F3.5000905@simov.cl> Message-ID: I'll get a copy of 2.3.5 installed over the next few days, then post my steps of what it took to get Tkinter going. cheers S -- Stewart Midwinter stewart at midwinter.ca stewart.midwinter at gmail.com Skype, GoogleTalk, iChatAV, MSN, Yahoo: midtoad AIM:midtoad1 From coder_infidel at hotmail.com Sat Jan 7 05:53:42 2006 From: coder_infidel at hotmail.com (Luke Dunstan) Date: Sat, 7 Jan 2006 12:53:42 +0800 Subject: [PythonCE] Web site (was Re: Empty project or Human Friendly Project?) References: <43BE8103.15713.10057275@bkc.murkworks.com> Message-ID: ----- Original Message ----- From: "Brad Clements" To: Sent: Saturday, January 07, 2006 3:38 AM Subject: Re: [PythonCE] Empty project or Human Friendly Project? > On 6 Jan 2006 at 10:09, Stewart Midwinter wrote: > >> Either would be fine by me. The wiki at murkworks is already set up >> and specific to this project, so easier to start with. I note however >> that the last entry there was 3 years ago. Brad Clements, the wiki >> admin, is one of the pythonce developers though, so Brad can you tell >> us if the location is still considered 'temporary' or whether we could >> make use of it for some time? > > The wiki is not intended to be temporary. It's an old version of zwiki, > should > probably be updated and I need to do something about self-provisioning > accounts. I think it's closed to editing due to spam. > >> >> Luke, is it possible to create a home page on SF that does nothing >> more than redirect to another location? Must be, since I see other >> projects doing something similar. I'll be happy to sign up and make >> it happen, if it will help. > > I can make a redirect page easily enough. But having a wiki for the home > page > sufficient? I think having a wiki is the best first step since we have nothing at the moment. Already a few people have volunteered to help with the web page, and if we can immediately give them a wiki to edit then it avoids the hassle, the risks and the learning curve of giving them direct access to your web server. > Should I setup a Trac site instead? I haven't used Trac but it sounds like it includes things like bug tracking which SourceForge already provides so I wouldn't want to duplicate that (it would be more work to maintain too). What else does it provide that SourceForge doesn't? > What about spam control? I don't know the answer to that. The only other project that I am a developer on and that has a wiki is www.mingw.org but I have never seen spam on that wiki. Luke From coder_infidel at hotmail.com Sat Jan 7 07:02:40 2006 From: coder_infidel at hotmail.com (Luke Dunstan) Date: Sat, 7 Jan 2006 14:02:40 +0800 Subject: [PythonCE] PythonCE Digest, Vol 30, Issue 6 References: Message-ID: ----- Original Message ----- From: "Duane Blanchard" To: Sent: Saturday, January 07, 2006 8:27 AM Subject: Re: [PythonCE] PythonCE Digest, Vol 30, Issue 6 > Hi, I've been lurking on the list and playing a little with PythonCE. > Very cool stuff here. Thanks to all the developers, many thanks. I'm > not a very talented coder, yet, but am willing to do the footwork of > getting an SF page for the project. It seems to me that everyone would > want this. Are there any objections before I go ahead and do it? > > Thanks, > > Duane Your offer is welcome, but in order to create the web page you would first need to be added as a developer by one of the project administrators. We are also discussing whether to host the web page on SourceForge or on Brad Clement's web server (which already has an old PythonCE wiki), so stay tuned. By the way, if you reply to a digest then it would be nice if you could edit the Subject to be something meaningful and delete the text quoted from the digest, except for the parts you are specifically replying to. Luke From javirosa at eden.rutgers.edu Sat Jan 7 08:51:00 2006 From: javirosa at eden.rutgers.edu (javirosa at eden.rutgers.edu) Date: Sat, 7 Jan 2006 02:51:00 -0500 (EST) Subject: [PythonCE] Message:5 COM access from inside PythonCE In-Reply-To: References: Message-ID: <1735.4.250.102.209.1136620260.squirrel@webmail.eden.rutgers.edu> Would that allow us to gain enough functionality to allow syncing appointments and emails without Outlook? Since it is a big issue with SunBird and other Free Software calendering projects, I think it would be a big boost to the projects popularity if we can get COM access. I wish I could contribute something to the project myself, but I don't have much programming experience or enough aesthetic sense to manage a website. If anyone has any ideas though... /**From Digest**/ ------------------------------ Message: 5 Date: Fri, 6 Jan 2006 15:13:39 -0700 From: Michael Murdock Subject: Re: [PythonCE] PythonCE Digest, Vol 30, Issue 5 To: pythonce at python.org Message-ID: Content-Type: text/plain; charset=ISO-8859-1 Hello, Thomas Heller wrote: >>>> I cannot answer these questions, but I'll try to get comtypes working. >>>> Are there 'interesting' COM objects on a Pocket PC 2003 to experiment >>>> with? I would _love_ to get COM access from inside PythonCE because I want to be able to control Pocket Outlook. Here's an excerpt from an MSDN SDK Documentation for Windows Mobile-Based Pocket PCs: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/guide_ppc/html/ppc_conpocketoutlookobjectmodel.asp "Pocket Outlook Object Model The Pocket Outlook Object Model (POOM) API provides access to Personal Information Manager (PIM) data on Pocket PCs and Smartphones running Microsoft Windows Mobile 2000 software and later. The POOM API mirrors the desktop version of the Outlook Object Model but has a smaller scope of functionality to accommodate the practical constraints of mobile devices. The POOM API is a COM-based library that provides programmatic access to Pocket Outlook data items and their container objects. The POOM API provides an object-oriented framework for creating, modifying, and displaying appointment, task, and contact items. It also provides functionality for manipulating PIM item collections and folders. Note: The Microsoft Windows Mobile 2003 SDK ships with a code sample, named "POOMMaster," that uses the POOM API. The default location for the installed code sample is C:\Program Files\Windows CE Tools\wce420\POCKET 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. ------------------------------ /**From Digest**/ From fuzzyman at voidspace.org.uk Sat Jan 7 09:33:50 2006 From: fuzzyman at voidspace.org.uk (Fuzzyman) Date: Sat, 07 Jan 2006 08:33:50 +0000 Subject: [PythonCE] PythonCE 1.5.2 for XScale? In-Reply-To: References: Message-ID: <43BF7CEE.2030100@voidspace.org.uk> Peter Dembinski wrote: >I know CPython 1.5.2 is deprecated, but does anyone have a PythonCE >version 1.5.2 compiled for XScale processors? > > > If *anyone* could produce this binary, I too would much appreciate it. :-) I have a Jornada Handheld running windows CE 2.11 (I think) and an ARM processor. All the best, Fuzzyman http://www.voidspace.org.uk/python/index.shtml From steven at quickdry.net Sat Jan 7 09:37:00 2006 From: steven at quickdry.net (Steven) Date: Sat, 7 Jan 2006 19:37:00 +1100 Subject: [PythonCE] Message:5 COM access from inside PythonCE References: <1735.4.250.102.209.1136620260.squirrel@webmail.eden.rutgers.edu> Message-ID: <001e01c61365$878f54e0$c24efea9@Latitude> I'd imagine you could, but if it is only for synchronisation, then the SynCE project is doing well with their work on the RAPI/Activesync protocol and getting contacts and the like syncing back and forth with Linux. Steven ----- Original Message ----- From: To: Sent: Saturday, January 07, 2006 6:51 PM Subject: Re: [PythonCE] Message:5 COM access from inside PythonCE > Would that allow us to gain enough functionality to allow syncing > appointments and emails without Outlook? Since it is a big issue with > SunBird and other Free Software calendering projects, I think it would be > a big boost to the projects popularity if we can get COM access. I wish I > could contribute something to the project myself, but I don't have much > programming experience or enough aesthetic sense to manage a website. If > anyone has any ideas though... From fuzzyman at voidspace.org.uk Sat Jan 7 09:55:56 2006 From: fuzzyman at voidspace.org.uk (Fuzzyman) Date: Sat, 07 Jan 2006 08:55:56 +0000 Subject: [PythonCE] Tkinter in pythonce... In-Reply-To: References: <43BEC4F3.5000905@simov.cl> Message-ID: <43BF821C.4090901@voidspace.org.uk> Luke Dunstan wrote: >----- Original Message ----- >From: "Stewart Midwinter" >To: "Rodrigo Contreras K?brich" >Cc: >Sent: Saturday, January 07, 2006 11:49 AM >Subject: Re: [PythonCE] Tkinter in pythonce... > > > > >>Rodrigo, no desesperes! >> >>Where do you have your python located? >> >>You probably need to add some code that tells python where to look for >>modules. you can do that with: >>sys.path.append('\\SD Card\\Program Files\\Python\\Lib') >>sys.path.append('\\SD Card\\Program >>Files\\Python\\Lib\\python23.zip\\lib-tk') >> >> > >This is not necessary because both of these directories are automatically in >sys.path (just as on the desktop version of Python). If this is not the case >then it is a bug. > > > In that case it's a bug. ;-) At least I see the same behaviour. All the best, Fuzzyman http://www.voidspace.org.uk/python/index.shtml -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.python.org/pipermail/pythonce/attachments/20060107/1df3cf5f/attachment.htm From brian at ablelinktech.com Sun Jan 8 22:51:07 2006 From: brian at ablelinktech.com (Brian Brown) Date: Sun, 8 Jan 2006 14:51:07 -0700 Subject: [PythonCE] Tkinter in pythonce... In-Reply-To: <43BEC4F3.5000905@simov.cl> References: <43BEC4F3.5000905@simov.cl> Message-ID: I had the TKinter stuff working and built a couple of apps that worked on Pocket PC... You have to go get the TK for Pocket PC binaries from them and install them on the pocket pc, then it all works, assuming your sys.path and such is set up correctly Brian On Jan 6, 2006, at 12:28 PM, Rodrigo Contreras K?brich wrote: > Hi. > > I installed the CAB file in my PDA. > The first thing I wanted to test was the GUI capabilities, so I > tried to > run the following code (which compiles nicely in the PC version): > > from Tkinter import * > > root = Tk() > > myContainer1 = Frame(root) ### (1) > myContainer1.pack() ### (2) > > root.mainloop() > > But pythonce raises an error code: No module named Tkinter. > > I noticed that there is a file named '_tkinter.pyd' at the DLLs > folder. > What should I do? > > Bye. > _______________________________________________ > PythonCE mailing list > PythonCE at python.org > http://mail.python.org/mailman/listinfo/pythonce From a.g.booth at leeds.ac.uk Mon Jan 9 12:15:35 2006 From: a.g.booth at leeds.ac.uk (Andrew Booth) Date: Mon, 9 Jan 2006 11:15:35 -0000 Subject: [PythonCE] PythonCE Digest, Vol 30, Issue 10 In-Reply-To: Message-ID: <001101c6150e$0324d9f0$6400a8c0@booth1> Make sure you use the most recent TCL/Tk, otherwise you will get the 'Winhandle map' error I reported a couple of months ago. You can download the latest version from: ftp://ftp.tcl.tk/pub/incoming/tcltk8_4_12_ce-arm.zip Andrew -----Original Message----- From: pythonce-bounces at python.org [mailto:pythonce-bounces at python.org] On Behalf Of pythonce-request at python.org Sent: 09 January 2006 11:00 To: pythonce at python.org Subject: PythonCE Digest, Vol 30, Issue 10 Send PythonCE mailing list submissions to pythonce at python.org To subscribe or unsubscribe via the World Wide Web, visit http://mail.python.org/mailman/listinfo/pythonce or, via email, send a message with subject or body 'help' to pythonce-request at python.org You can reach the person managing the list at pythonce-owner at python.org When replying, please edit your Subject line so it is more specific than "Re: Contents of PythonCE digest..." Today's Topics: 1. Re: Tkinter in pythonce... (Brian Brown) ---------------------------------------------------------------------- Message: 1 Date: Sun, 8 Jan 2006 14:51:07 -0700 From: Brian Brown Subject: Re: [PythonCE] Tkinter in pythonce... To: pythonce at python.org Message-ID: Content-Type: text/plain; charset=ISO-8859-1; delsp=yes; format=flowed I had the TKinter stuff working and built a couple of apps that worked on Pocket PC... You have to go get the TK for Pocket PC binaries from them and install them on the pocket pc, then it all works, assuming your sys.path and such is set up correctly Brian On Jan 6, 2006, at 12:28 PM, Rodrigo Contreras K?brich wrote: > Hi. > > I installed the CAB file in my PDA. > The first thing I wanted to test was the GUI capabilities, so I > tried to > run the following code (which compiles nicely in the PC version): > > from Tkinter import * > > root = Tk() > > myContainer1 = Frame(root) ### (1) > myContainer1.pack() ### (2) > > root.mainloop() > > But pythonce raises an error code: No module named Tkinter. > > I noticed that there is a file named '_tkinter.pyd' at the DLLs > folder. > What should I do? > > Bye. > _______________________________________________ > PythonCE mailing list > PythonCE at python.org > http://mail.python.org/mailman/listinfo/pythonce ------------------------------ _______________________________________________ PythonCE mailing list PythonCE at python.org http://mail.python.org/mailman/listinfo/pythonce End of PythonCE Digest, Vol 30, Issue 10 **************************************** From theller at python.net Mon Jan 9 13:51:31 2006 From: theller at python.net (Thomas Heller) Date: Mon, 09 Jan 2006 13:51:31 +0100 Subject: [PythonCE] How do you develop on the PocketPC? Message-ID: Does anyone (everyone ?) start the Python interpreter on the device, and use the stylus to enter interactive commands? Or does one write scripts on the PC, let ActiveSync transfer them, and start them by clicking on the filename? I cannot really believe that. BTW, when an uncatched exception occurs in a script, I see a box displaying: """ Python Error ============ Traceback (innermost last): : """ When I close this box (by clicking the OK button in the upper right corner), I can see (for less than a second) the interpreter window showing the real traceback, but not long enough to be able to read it. So, I made a pair of scripts which start a server on the host PC, which sends commands to a script running on the device, executing them, and send the results back for display on the PC. Don't know if it is worth to post it here... Thomas From coder_infidel at hotmail.com Mon Jan 9 14:14:27 2006 From: coder_infidel at hotmail.com (Luke Dunstan) Date: Mon, 9 Jan 2006 21:14:27 +0800 Subject: [PythonCE] How do you develop on the PocketPC? References: Message-ID: I sometimes use interactive commands, but usually through a program called ActiveSync Remote Display which is like Remote Desktop. Other times I do double-click on scripts, and it is possible (but inconvenient) to see the error messages by switching to the Python window. I have been planning on creating some tools to help this process but maybe you've already done that? Your script would be appreciated. Luke ----- Original Message ----- From: "Thomas Heller" To: Sent: Monday, January 09, 2006 8:51 PM Subject: [PythonCE] How do you develop on the PocketPC? > Does anyone (everyone ?) start the Python interpreter on the device, and > use the stylus to enter interactive commands? > Or does one write scripts on the PC, let ActiveSync transfer them, and > start them by clicking on the filename? > > I cannot really believe that. BTW, when an uncatched exception occurs > in a script, I see a box displaying: > > """ > Python Error > ============ > Traceback (innermost last): > : > """ > > When I close this box (by clicking the OK button in the upper right > corner), I can see (for less than a second) the interpreter window > showing the real traceback, but not long enough to be able to read it. > > So, I made a pair of scripts which start a server on the host PC, which > sends commands to a script running on the device, executing them, and > send the results back for display on the PC. Don't know if it is worth > to post it here... > > Thomas From fuzzyman at voidspace.org.uk Mon Jan 9 14:30:23 2006 From: fuzzyman at voidspace.org.uk (Fuzzyman) Date: Mon, 09 Jan 2006 13:30:23 +0000 Subject: [PythonCE] How do you develop on the PocketPC? In-Reply-To: References: Message-ID: <43C2656F.6060908@voidspace.org.uk> Thomas Heller wrote: >Does anyone (everyone ?) start the Python interpreter on the device, and >use the stylus to enter interactive commands? >Or does one write scripts on the PC, let ActiveSync transfer them, and >start them by clicking on the filename? > >I cannot really believe that. BTW, when an uncatched exception occurs >in a script, I see a box displaying: > > > I personally tend to end up writing code *on the pocketpc* (usually when I'm on the move somewhere, or in a waiting room) - rather than for the pocketpc. Because of this I usually use pocket notepad. Probably *not* the best person to answer your question... >""" >Python Error >============ >Traceback (innermost last): >: >""" > > > If you flick between other active tasks, you'll see the real traceback in another window. (You'll need a task manager to do this). I often use this to display output - print stuff to the screen and then throw an error so that the : ": " window hangs round for me to see the output in the other window... All the best, Fuzzyman http://www.voidspace.org.uk/python/index.shtml >When I close this box (by clicking the OK button in the upper right >corner), I can see (for less than a second) the interpreter window >showing the real traceback, but not long enough to be able to read it. > >So, I made a pair of scripts which start a server on the host PC, which >sends commands to a script running on the device, executing them, and >send the results back for display on the PC. Don't know if it is worth >to post it here... > >Thomas > > >_______________________________________________ >PythonCE mailing list >PythonCE at python.org >http://mail.python.org/mailman/listinfo/pythonce > > > From theller at python.net Mon Jan 9 14:52:32 2006 From: theller at python.net (Thomas Heller) Date: Mon, 09 Jan 2006 14:52:32 +0100 Subject: [PythonCE] How do you develop on the PocketPC? In-Reply-To: (Luke Dunstan's message of "Mon, 9 Jan 2006 21:14:27 +0800") References: Message-ID: A non-text attachment was scrubbed... Name: client.py Type: text/x-python Size: 1351 bytes Desc: client.py, to be run on the pocket device Url : http://mail.python.org/pipermail/pythonce/attachments/20060109/e774e5da/attachment.py -------------- next part -------------- A non-text attachment was scrubbed... Name: server.py Type: text/x-python Size: 670 bytes Desc: server.py, to be run on the PC Url : http://mail.python.org/pipermail/pythonce/attachments/20060109/e774e5da/attachment-0001.py From coder_infidel at hotmail.com Mon Jan 9 15:09:54 2006 From: coder_infidel at hotmail.com (Luke Dunstan) Date: Mon, 9 Jan 2006 22:09:54 +0800 Subject: [PythonCE] How do you develop on the PocketPC? References: Message-ID: I'm sorry to say that I've seen the NULL bug before but have been too distracted by the task at hand to fix it, but here is a patch that fixes it. By the way, I've recently tried running the remote part of "winpdb" (http://www.digitalpeers.com/pythondebugger/) on Windows CE and connecting to it over TCP/IP from the GUI running on the PC, and after a trivial change (to handle a lack of PATH environment variable) it worked fine. Personally I would rather have the ability to communicate to the remote debugger using ActiveSync rather than only TCP/IP because it is more convenient especially since I only have Bluetooth not WiFi, so I have been investigating using the Remote API (RAPI). Luke ----- Original Message ----- From: "Thomas Heller" To: Sent: Monday, January 09, 2006 8:51 PM Subject: [PythonCE] How do you develop on the PocketPC? > Does anyone (everyone ?) start the Python interpreter on the device, and > use the stylus to enter interactive commands? > Or does one write scripts on the PC, let ActiveSync transfer them, and > start them by clicking on the filename? > > I cannot really believe that. BTW, when an uncatched exception occurs > in a script, I see a box displaying: > > """ > Python Error > ============ > Traceback (innermost last): > : > """ > > When I close this box (by clicking the OK button in the upper right > corner), I can see (for less than a second) the interpreter window > showing the real traceback, but not long enough to be able to read it. > > So, I made a pair of scripts which start a server on the host PC, which > sends commands to a script running on the device, executing them, and > send the results back for display on the PC. Don't know if it is worth > to post it here... > > Thomas -------------- next part -------------- A non-text attachment was scrubbed... Name: null-exception-fix.diff Type: application/octet-stream Size: 425 bytes Desc: not available Url : http://mail.python.org/pipermail/pythonce/attachments/20060109/7e1b8587/attachment.obj From theller at python.net Mon Jan 9 15:42:24 2006 From: theller at python.net (Thomas Heller) Date: Mon, 09 Jan 2006 15:42:24 +0100 Subject: [PythonCE] How do you develop on the PocketPC? References: Message-ID: "Luke Dunstan" writes: > I'm sorry to say that I've seen the NULL bug before but have been too > distracted by the task at hand to fix it, but here is a patch that > fixes it. > > By the way, I've recently tried running the remote part of "winpdb" > (http://www.digitalpeers.com/pythondebugger/) on Windows CE and > connecting to it over TCP/IP from the GUI running on the PC, and after > a trivial change (to handle a lack of PATH environment variable) it > worked fine. Personally I would rather have the ability to communicate > to the remote debugger using ActiveSync rather than only TCP/IP > because it is more convenient especially since I only have Bluetooth > not WiFi, so I have been investigating using the Remote API (RAPI). In case you are talking about the scripts I posted: Although the client and server connect via TCP/IP, the only connection between the pockect PC and the desktop computer I have is the cradle with an USB cable, plus activesync (3.8, IIRC) running. It seems activesync emulates internet connection on the pocket pc. Thomas From coder_infidel at hotmail.com Mon Jan 9 17:00:16 2006 From: coder_infidel at hotmail.com (Luke Dunstan) Date: Tue, 10 Jan 2006 00:00:16 +0800 Subject: [PythonCE] How do you develop on the PocketPC? References: Message-ID: ----- Original Message ----- From: "Thomas Heller" To: Sent: Monday, January 09, 2006 10:42 PM Subject: Re: [PythonCE] How do you develop on the PocketPC? > "Luke Dunstan" writes: > >> I'm sorry to say that I've seen the NULL bug before but have been too >> distracted by the task at hand to fix it, but here is a patch that >> fixes it. >> >> By the way, I've recently tried running the remote part of "winpdb" >> (http://www.digitalpeers.com/pythondebugger/) on Windows CE and >> connecting to it over TCP/IP from the GUI running on the PC, and after >> a trivial change (to handle a lack of PATH environment variable) it >> worked fine. Personally I would rather have the ability to communicate >> to the remote debugger using ActiveSync rather than only TCP/IP >> because it is more convenient especially since I only have Bluetooth >> not WiFi, so I have been investigating using the Remote API (RAPI). > > In case you are talking about the scripts I posted: Although the client > and server connect via TCP/IP, the only connection between the pockect > PC and the desktop computer I have is the cradle with an USB cable, plus > activesync (3.8, IIRC) running. It seems activesync emulates internet > connection on the pocket pc. > > Thomas I have noticed that IE works on the PDA when cradled, but I know that ActiveSync is not providing a real network adapter on the PC side because an extra IP does not appear in the output of 'ipconfig'. This prevents running TCP listen servers on the PDA but it is true that your method works nicely in this case. As a demonstration of how we could make it even more convenient, I have modified it slightly so that the server starts the client script on the PDA remotely, using RAPI via ctypes. I have put the experimental RAPI interfacing code in a separate module "wincerapi". We should probably consider putting all these scripts in CVS somewhere. Luke -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: pyceserver.py Url: http://mail.python.org/pipermail/pythonce/attachments/20060110/157f8c1f/attachment-0001.asc -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: wincerapi.py Url: http://mail.python.org/pipermail/pythonce/attachments/20060110/157f8c1f/attachment-0001.pot From brian at ablelinktech.com Mon Jan 9 18:04:55 2006 From: brian at ablelinktech.com (Brian Brown) Date: Mon, 9 Jan 2006 10:04:55 -0700 Subject: [PythonCE] How do you develop on the PocketPC? In-Reply-To: References: Message-ID: We have wrapped a bunch of RAPI in ctypes, and will be releasing it in the next week or so to the PocketPC project. We can read and write files, create processes, enumerate storage and directories, etc. It's a great starting place for anything else as well. I've attached it. -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: LICENSE.txt Url: http://mail.python.org/pipermail/pythonce/attachments/20060109/5302e549/attachment.txt -------------- next part -------------- A non-text attachment was scrubbed... Name: pocketRapi.py Type: text/x-python-script Size: 8530 bytes Desc: not available Url : http://mail.python.org/pipermail/pythonce/attachments/20060109/5302e549/attachment.bin -------------- next part -------------- On Jan 9, 2006, at 9:00 AM, Luke Dunstan wrote: > > ----- Original Message ----- From: "Thomas Heller" > > To: > Sent: Monday, January 09, 2006 10:42 PM > Subject: Re: [PythonCE] How do you develop on the PocketPC? > > >> "Luke Dunstan" writes: >> >>> I'm sorry to say that I've seen the NULL bug before but have been >>> too >>> distracted by the task at hand to fix it, but here is a patch that >>> fixes it. >>> >>> By the way, I've recently tried running the remote part of "winpdb" >>> (http://www.digitalpeers.com/pythondebugger/) on Windows CE and >>> connecting to it over TCP/IP from the GUI running on the PC, and >>> after >>> a trivial change (to handle a lack of PATH environment variable) it >>> worked fine. Personally I would rather have the ability to >>> communicate >>> to the remote debugger using ActiveSync rather than only TCP/IP >>> because it is more convenient especially since I only have Bluetooth >>> not WiFi, so I have been investigating using the Remote API (RAPI). >> >> In case you are talking about the scripts I posted: Although the >> client >> and server connect via TCP/IP, the only connection between the >> pockect >> PC and the desktop computer I have is the cradle with an USB >> cable, plus >> activesync (3.8, IIRC) running. It seems activesync emulates >> internet >> connection on the pocket pc. >> >> Thomas > > I have noticed that IE works on the PDA when cradled, but I know > that ActiveSync is not providing a real network adapter on the PC > side because an extra IP does not appear in the output of > 'ipconfig'. This prevents running TCP listen servers on the PDA but > it is true that your method works nicely in this case. As a > demonstration of how we could make it even more convenient, I have > modified it slightly so that the server starts the client script on > the PDA remotely, using RAPI via ctypes. I have put the > experimental RAPI interfacing code in a separate module "wincerapi". > > We should probably consider putting all these scripts in CVS > somewhere. > > Luke > > > _______________________________________________ > PythonCE mailing list > PythonCE at python.org > http://mail.python.org/mailman/listinfo/pythonce From theller at python.net Mon Jan 9 19:47:26 2006 From: theller at python.net (Thomas Heller) Date: Mon, 09 Jan 2006 19:47:26 +0100 Subject: [PythonCE] How do you develop on the PocketPC? References: Message-ID: "Luke Dunstan" writes: > From: "Thomas Heller" >> "Luke Dunstan" writes: >> >>> By the way, I've recently tried running the remote part of "winpdb" >>> (http://www.digitalpeers.com/pythondebugger/) on Windows CE and >>> connecting to it over TCP/IP from the GUI running on the PC, and after >>> a trivial change (to handle a lack of PATH environment variable) it >>> worked fine. Personally I would rather have the ability to communicate >>> to the remote debugger using ActiveSync rather than only TCP/IP >>> because it is more convenient especially since I only have Bluetooth >>> not WiFi, so I have been investigating using the Remote API (RAPI). >> >> In case you are talking about the scripts I posted: Although the client >> and server connect via TCP/IP, the only connection between the pockect >> PC and the desktop computer I have is the cradle with an USB cable, plus >> activesync (3.8, IIRC) running. It seems activesync emulates internet >> connection on the pocket pc. > I have noticed that IE works on the PDA when cradled, but I know that > ActiveSync is not providing a real network adapter on the PC side > because an extra IP does not appear in the output of 'ipconfig'. This > prevents running TCP listen servers on the PDA but it is true that > your method works nicely in this case. As a demonstration of how we > could make it even more convenient, I have modified it slightly so > that the server starts the client script on the PDA remotely, using > RAPI via ctypes. I have put the experimental RAPI interfacing code in > a separate module "wincerapi". I have done something very similar in the meantime, and this is getting very cool. > We should probably consider putting all these scripts in CVS somewhere. And we should probably use the pocketRapi module that Brian Brown posted. There are important things missing, IMO: the ability to interrupt running code with ^C, and to terminate the session with typing ^Z. Unfortunately, I have not even be able to distinguish ^C from ^Z in the get_input() function. It seems that both raise an EOFError in the thread that get_input() runs. Maybe we cannot use raw_input, and have to write our own function for that... Thomas From coder_infidel at hotmail.com Tue Jan 10 09:59:11 2006 From: coder_infidel at hotmail.com ( Luke Dunstan) Date: Tue, 10 Jan 2006 16:59:11 +0800 Subject: [PythonCE] How do you develop on the PocketPC? References: Message-ID: ----- Original Message ----- From: "Thomas Heller" To: Sent: Tuesday, January 10, 2006 2:47 AM Subject: Re: [PythonCE] How do you develop on the PocketPC? > "Luke Dunstan" writes: >> We should probably consider putting all these scripts in CVS somewhere. > > And we should probably use the pocketRapi module that Brian Brown > posted. I am interested to know why you prefer it. I can think of the following advantages: - It initialises RAPI the first time you try to use it, and remembers this. - It includes more file I/O functions. I'm sure it is good for some purposes, but I can also think of some possible disadvantages: - The functions are in a class instead of a module. This means that you could create multiple instances of the class, which doesn't make sense. - The name "pocketRapi" implies Pocket PC only but RAPI really applies to Windows CE in general. - It requires win32file. - The file I/O functions do not follow the pattern of Python file objects. - It doesn't include the last error codes in exceptions raised. - It doesn't use "argtypes" or "restype". I don't know if this makes it faster? - Redistributions in "binary form" must reproduce the copyright notice. Luke > There are important things missing, IMO: the ability to interrupt > running code with ^C, and to terminate the session with typing ^Z. > Unfortunately, I have not even be able to distinguish ^C from ^Z in the > get_input() function. It seems that both raise an EOFError in the > thread that get_input() runs. Maybe we cannot use raw_input, and have > to write our own function for that... > > Thomas > > _______________________________________________ > PythonCE mailing list > PythonCE at python.org > http://mail.python.org/mailman/listinfo/pythonce > From mhammond at skippinet.com.au Tue Jan 10 11:07:43 2006 From: mhammond at skippinet.com.au (Mark Hammond) Date: Tue, 10 Jan 2006 21:07:43 +1100 Subject: [PythonCE] How do you develop on the PocketPC? In-Reply-To: Message-ID: There is also a languishing wincerapi module in the pywin32 source code. Is that of use to anyone? Mark. > > "Luke Dunstan" writes: > >> We should probably consider putting all these scripts in CVS somewhere. > > > > And we should probably use the pocketRapi module that Brian Brown > > posted. > > I am interested to know why you prefer it. I can think of the following > advantages: > > - It initialises RAPI the first time you try to use it, and > remembers this. > - It includes more file I/O functions. > > I'm sure it is good for some purposes, but I can also think of > some possible > disadvantages: > > - The functions are in a class instead of a module. This means that you > could create multiple instances of the class, which doesn't make sense. > - The name "pocketRapi" implies Pocket PC only but RAPI really applies to > Windows CE in general. > - It requires win32file. > - The file I/O functions do not follow the pattern of Python file objects. > - It doesn't include the last error codes in exceptions raised. > - It doesn't use "argtypes" or "restype". I don't know if this makes it > faster? > - Redistributions in "binary form" must reproduce the copyright notice. > > Luke > > > There are important things missing, IMO: the ability to interrupt > > running code with ^C, and to terminate the session with typing ^Z. > > Unfortunately, I have not even be able to distinguish ^C from ^Z in the > > get_input() function. It seems that both raise an EOFError in the > > thread that get_input() runs. Maybe we cannot use raw_input, and have > > to write our own function for that... From coder_infidel at hotmail.com Tue Jan 10 12:49:07 2006 From: coder_infidel at hotmail.com (Luke Dunstan) Date: Tue, 10 Jan 2006 19:49:07 +0800 Subject: [PythonCE] How do you develop on the PocketPC? References: Message-ID: It could be of use but personally I would prefer to use ctypes because I find it much faster and easier to develop the module in Python than C/C++/SWIG, and for users of the module it is easier to read the Python code to understand how it works. Thanks also for the reminder that the name "wincerapi" is already taken. Luke ----- Original Message ----- From: "Mark Hammond" To: " Luke Dunstan" ; Sent: Tuesday, January 10, 2006 6:07 PM Subject: RE: [PythonCE] How do you develop on the PocketPC? > There is also a languishing wincerapi module in the pywin32 source code. > Is > that of use to anyone? > > Mark. > >> > "Luke Dunstan" writes: >> >> We should probably consider putting all these scripts in CVS >> >> somewhere. >> > >> > And we should probably use the pocketRapi module that Brian Brown >> > posted. >> >> I am interested to know why you prefer it. I can think of the following >> advantages: >> >> - It initialises RAPI the first time you try to use it, and >> remembers this. >> - It includes more file I/O functions. >> >> I'm sure it is good for some purposes, but I can also think of >> some possible >> disadvantages: >> >> - The functions are in a class instead of a module. This means that you >> could create multiple instances of the class, which doesn't make sense. >> - The name "pocketRapi" implies Pocket PC only but RAPI really applies to >> Windows CE in general. >> - It requires win32file. >> - The file I/O functions do not follow the pattern of Python file >> objects. >> - It doesn't include the last error codes in exceptions raised. >> - It doesn't use "argtypes" or "restype". I don't know if this makes it >> faster? >> - Redistributions in "binary form" must reproduce the copyright notice. >> >> Luke >> >> > There are important things missing, IMO: the ability to interrupt >> > running code with ^C, and to terminate the session with typing ^Z. >> > Unfortunately, I have not even be able to distinguish ^C from ^Z in the >> > get_input() function. It seems that both raise an EOFError in the >> > thread that get_input() runs. Maybe we cannot use raw_input, and have >> > to write our own function for that... > > From mhammond at skippinet.com.au Tue Jan 10 13:15:58 2006 From: mhammond at skippinet.com.au (Mark Hammond) Date: Tue, 10 Jan 2006 23:15:58 +1100 Subject: [PythonCE] How do you develop on the PocketPC? In-Reply-To: Message-ID: > It could be of use but personally I would prefer to use ctypes because I > find it much faster and easier to develop the module in Python than > C/C++/SWIG, and for users of the module it is easier to read the > Python code > to understand how it works. Thanks also for the reminder that the name > "wincerapi" is already taken. By all means, feel free to reuse the name and declare the code in pywin32 obsolete! Its been a few years since I've had the CE tools, and hence I suspect since wincerapi has been built or used. I'd be just as happy to have it in the CVS attic as have it in a perpetual limbo (kind of like a bit-part character in a B-Grade movie :) I'm certainly inclined to agree about ctypes being preferable to SWIG, and as Thomas and I have vaguely and briefly discussed, I'm always open to that being an option for pywin32 itself. Cheers, Mark From theller at python.net Tue Jan 10 19:22:52 2006 From: theller at python.net (Thomas Heller) Date: Tue, 10 Jan 2006 19:22:52 +0100 Subject: [PythonCE] How do you develop on the PocketPC? References: Message-ID: <7j9854eb.fsf@python.net> " Luke Dunstan" writes: > From: "Thomas Heller" >> "Luke Dunstan" writes: >>> We should probably consider putting all these scripts in CVS somewhere. >> >> And we should probably use the pocketRapi module that Brian Brown >> posted. > > I am interested to know why you prefer it. I can think of the following > advantages: > > - It initialises RAPI the first time you try to use it, and remembers this. > - It includes more file I/O functions. > > I'm sure it is good for some purposes, but I can also think of some possible > disadvantages: > > - The functions are in a class instead of a module. This means that you > could create multiple instances of the class, which doesn't make sense. > - The name "pocketRapi" implies Pocket PC only but RAPI really applies to > Windows CE in general. > - It requires win32file. > - The file I/O functions do not follow the pattern of Python file objects. > - It doesn't include the last error codes in exceptions raised. > - It doesn't use "argtypes" or "restype". I don't know if this makes it > faster? > - Redistributions in "binary form" must reproduce the copyright notice. I must say I didn't look at the module, but assumed that it wrapped a large amount of the rapi functions, so I wanted to avoid reinventing this particular wheel. Same for the license, I didn't look at it. If I were to commit these scripts somewhere, and add a ctypes-based rapi module, I would most certainly like to take responsibility for the rapi code anyway. Hopefully that would be a good thing, but in the version that I have there are only a couple of lines like this: ctypes.oledll.rapi.CeRapiInit() res = ctypes.windll.rapi.CeCreateProcess(unicode(REMOTE_EXE), unicode(REMOTE_CLIENT), None, None, False, 0, None, None, None, None) if res == 0: raise ctypes.WinError(ctypes.windll.rapi.CeRapiGetError() or \ ctypes.windll.rapi.CeGetLastError()) [...] try: [....] finally: ctypes.oledll.rapi.CeRapiUninit() Not very reusable. To answer your question about 'argtypes' and 'restypes': Not setting argtypes may gain a little bt of speed, but the big advantage of using 'argtypes' would be the auto-string/unicode conversion that ctypes does (which is also missing in my own code). Sorry, Thomas From shane.holloway at ieee.org Tue Jan 10 19:07:54 2006 From: shane.holloway at ieee.org (Shane Holloway (IEEE)) Date: Tue, 10 Jan 2006 11:07:54 -0700 Subject: [PythonCE] How do you develop on the PocketPC? In-Reply-To: References: Message-ID: On Jan 10, 2006, at 01:59, Luke Dunstan wrote: > I am interested to know why you prefer it. I can think of the > following > advantages: > > - It initialises RAPI the first time you try to use it, and > remembers this. > - It includes more file I/O functions. > > I'm sure it is good for some purposes, but I can also think of some > possible > disadvantages: > > - The functions are in a class instead of a module. This means that > you > could create multiple instances of the class, which doesn't make > sense. Sure it does -- this is the way we use it around here. (I work with Brian, and write many of the ctypes style wrappers for our libraries.) We make multiple instances, and it works just fine. I believe RAPI tracks the number of times you init/uninit if I recall correctly. > - The name "pocketRapi" implies Pocket PC only but RAPI really > applies to > Windows CE in general. True, but a name can be easily changed. All the devices we work with are Pocket PCs, and it started as an internal module for our projects. > - It requires win32file. Just constants from win32file. We can easily eliminate that dependency. > - The file I/O functions do not follow the pattern of Python file > objects. True, and I'd love to see that implemented as well. I was in a rush to get something working, but we can modify this to make it work like normal. An alternative in the meantime is to use StringIO instances and pass those to copy file. Not quite as good, but functional. I was thinking this while I was writing, but I was challenged to get something functional out so we could finish the client app. ;) > - It doesn't include the last error codes in exceptions raised. We could add that. We used the ctypes errcheck protocol when we wrapped OpenAL, and it worked wonderfully. We also wrapped the entire header file natively using the gccxml tools, and then created a OO wrapper on top of it. This allows us to have both a module- level wrapper, and an OO style wrapper. > - It doesn't use "argtypes" or "restype". I don't know if this > makes it > faster? It worked without them... Doesn't bother me, and saved me the time in looking up the prototypes. More of a developer time optimization. ;) You'd have to ask Thomas about speed implications of argtypes and restypes though. > - Redistributions in "binary form" must reproduce the copyright > notice. That's pretty much the standard BSD style license -- ctypes MIT license is very similar, as well as pywin32's license... At least it's not GPL. ;) http://opensource.org/licenses/bsd-license.php Hopefully this gives us all good starting point for RAPI use. A refactor would be useful -- especially after trying some of Thomas' new tools like errcheck and gccxml. But for the mean time, I'll have to wait on it. Too many projects on the plate to revisit it now. Thanks, -Shane Holloway & Brian Brown TechGame Networks From theller at python.net Wed Jan 11 08:42:12 2006 From: theller at python.net (Thomas Heller) Date: Wed, 11 Jan 2006 08:42:12 +0100 Subject: [PythonCE] How do you develop on the PocketPC? References: Message-ID: "Luke Dunstan" writes: > ----- Original Message ----- > From: "Thomas Heller" > To: > Sent: Monday, January 09, 2006 10:42 PM > Subject: Re: [PythonCE] How do you develop on the PocketPC? > > >> "Luke Dunstan" writes: >> >>> I'm sorry to say that I've seen the NULL bug before but have been too >>> distracted by the task at hand to fix it, but here is a patch that >>> fixes it. >>> >>> By the way, I've recently tried running the remote part of "winpdb" >>> (http://www.digitalpeers.com/pythondebugger/) on Windows CE and >>> connecting to it over TCP/IP from the GUI running on the PC, and after >>> a trivial change (to handle a lack of PATH environment variable) it >>> worked fine. Personally I would rather have the ability to communicate >>> to the remote debugger using ActiveSync rather than only TCP/IP >>> because it is more convenient especially since I only have Bluetooth >>> not WiFi, so I have been investigating using the Remote API (RAPI). >> >> In case you are talking about the scripts I posted: Although the client >> and server connect via TCP/IP, the only connection between the pockect >> PC and the desktop computer I have is the cradle with an USB cable, plus >> activesync (3.8, IIRC) running. It seems activesync emulates internet >> connection on the pocket pc. >> >> Thomas > > I have noticed that IE works on the PDA when cradled, but I know that > ActiveSync is not providing a real network adapter on the PC side > because an extra IP does not appear in the output of 'ipconfig'. This > prevents running TCP listen servers on the PDA but it is true that > your method works nicely in this case. Luke, Do you know of any other way except TCP/IP to establish a two-way communication between the desktop and the PDA? Thomas From coder_infidel at hotmail.com Wed Jan 11 13:38:11 2006 From: coder_infidel at hotmail.com (Luke Dunstan) Date: Wed, 11 Jan 2006 20:38:11 +0800 Subject: [PythonCE] How do you develop on the PocketPC? References: Message-ID: ----- Original Message ----- From: "Thomas Heller" To: Sent: Wednesday, January 11, 2006 3:42 PM Subject: Re: [PythonCE] How do you develop on the PocketPC? > "Luke Dunstan" writes: > >> ----- Original Message ----- >> From: "Thomas Heller" >> To: >> Sent: Monday, January 09, 2006 10:42 PM >> Subject: Re: [PythonCE] How do you develop on the PocketPC? >> >> I have noticed that IE works on the PDA when cradled, but I know that >> ActiveSync is not providing a real network adapter on the PC side >> because an extra IP does not appear in the output of 'ipconfig'. This >> prevents running TCP listen servers on the PDA but it is true that >> your method works nicely in this case. > > Luke, > > Do you know of any other way except TCP/IP to establish a two-way > communication between the desktop and the PDA? > > Thomas One way I know is using the CeRapiInvoke() API, which is a kind of remote procedure call: STDAPI_( HRESULT ) CeRapiInvoke( LPCWSTR pDllPath, LPCWSTR pFunctionName, DWORD cbInput, BYTE * pInput, DWORD * pcbOutput, BYTE ** ppOutput, IRAPIStream ** ppIRAPIStream, DWORD dwReserved ); You can specify a DLL and function name and the device-side part of RAPI will load the DLL and call the function, but it must have the following prototype (see also wincerapi.py): typedef HRESULT (STDAPICALLTYPE RAPIEXT)( DWORD cbInput, BYTE * pInput, DWORD * pcbOutput, BYTE ** ppOutput, IRAPIStream * pIRAPIStream ); In block mode (ppIRAPIStream == NULL) you can simply pass a block of data in each direction. The interesting part is that if you pass a pointer then you will receive a IRAPIStream* that allows the device and PC to communicate in both directions similar to a socket. I have tested this in one direction only using the CeInvoke sample from the Pocket PC 2003 SDK, and I also tested replacing the desktop-side program with a Python script. However, so far this API does not seem robust; for example if the device-side DLL releases the stream then IRAPIStream::Read() seems to block forever in the desktop program. The CeInvoke sample handles this by sending a command over the stream to let the desktop know that it has finished, but to my mind it is a hack because it would be like sending a disconnect command over a TCP socket and relying on that to shut down the other end. The function IRAPIStream::SetRapiStat can supposedly set a timeout for Read() but so far I can't get it to work. There is a two-way stream sample in an MSDN KB article that I have yet to try. For creating development tools there is also the possibility of using the Platform Manager APIs, which are installed and used by eMbedded Visual C++ to communicate with the remote debugger, among other things. Platform Manager supports multiple "transports" including TCP/IP and ActiveSync and you can even create your own transport. I haven't actually tried using it yet though :-). Luke From litorina66 at tiscali.dk Wed Jan 11 16:51:16 2006 From: litorina66 at tiscali.dk (J. Nielsen) Date: Wed, 11 Jan 2006 16:51:16 +0100 Subject: [PythonCE] TKinter for iPAQ Message-ID: <003d01c616c6$dbc2f300$ac02a8c0@Johnny> Hi, Does anybody around know how to colorise a line on the PDA display? I run Python with tcl8.4.3 and on a canvas (w) object created a line with: w.create_line(w, startpoint,endpoint,width=1) w.configure(....,fill='red') This strip is working fine making a single red line. But if I change width to 2 or more the line draws thicker allright, but the red color disappears and the line is all black. Can anyone explain how to make the thicker line a color other than black?? Thanks Johnny -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.python.org/pipermail/pythonce/attachments/20060111/182ac548/attachment.html From theller at python.net Wed Jan 11 17:19:07 2006 From: theller at python.net (Thomas Heller) Date: Wed, 11 Jan 2006 17:19:07 +0100 Subject: [PythonCE] How do you develop on the PocketPC? In-Reply-To: (Luke Dunstan's message of "Wed, 11 Jan 2006 20:38:11 +0800") References: Message-ID: "Luke Dunstan" writes: >>> From: "Thomas Heller" >> >> Do you know of any other way except TCP/IP to establish a two-way >> communication between the desktop and the PDA? >> > One way I know is using the CeRapiInvoke() API, which is a kind of remote > procedure call: > > STDAPI_( HRESULT ) CeRapiInvoke( > LPCWSTR pDllPath, > LPCWSTR pFunctionName, > DWORD cbInput, > BYTE * pInput, > DWORD * pcbOutput, > BYTE ** ppOutput, > IRAPIStream ** ppIRAPIStream, > DWORD dwReserved > ); > > You can specify a DLL and function name and the device-side part of RAPI > will load the DLL and call the function, but it must have the following > prototype (see also wincerapi.py): > > typedef HRESULT (STDAPICALLTYPE RAPIEXT)( > DWORD cbInput, > BYTE * pInput, > DWORD * pcbOutput, > BYTE ** ppOutput, > IRAPIStream * pIRAPIStream > ); > > In block mode (ppIRAPIStream == NULL) you can simply pass a block of data in > each direction. The interesting part is that if you pass a pointer then you > will receive a IRAPIStream* that allows the device and PC to communicate in > both directions similar to a socket. > > I have tested this in one direction only using the CeInvoke sample from the > Pocket PC 2003 SDK, and I also tested replacing the desktop-side program > with a Python script. However, so far this API does not seem robust; for > example if the device-side DLL releases the stream then IRAPIStream::Read() > seems to block forever in the desktop program. The CeInvoke sample handles > this by sending a command over the stream to let the desktop know that it > has finished, but to my mind it is a hack because it would be like sending a > disconnect command over a TCP socket and relying on that to shut down the > other end. The function IRAPIStream::SetRapiStat can supposedly set a > timeout for Read() but so far I can't get it to work. There is a two-way > stream sample in an MSDN KB article that I have yet to try. > > For creating development tools there is also the possibility of using the > Platform Manager APIs, which are installed and used by eMbedded Visual C++ > to communicate with the remote debugger, among other things. Platform > Manager supports multiple "transports" including TCP/IP and ActiveSync and > you can even create your own transport. I haven't actually tried using it > yet though :-). This is useful info, I'm sure I need it when I have time;-) Thanks, Thomas From bkc at murkworks.com Thu Jan 12 00:38:48 2006 From: bkc at murkworks.com (Brad Clements) Date: Wed, 11 Jan 2006 18:38:48 -0500 Subject: [PythonCE] rudimentary pythonce home page setup Message-ID: <43C550B8.13333.2AA0F885@bkc.murkworks.com> http://pythonce.sourceforge.net/ checked into cvs as web module. I am planning on migrating the existing pythonce wiki to moinmoin, unless someone has a better idea? Note that moinmoin folks so "don't bother to host on sf, too slow", so I'll put the new wiki at murkworks.com I'm not sure what content to put on the pythonce home page, so it's spartan. -- Brad Clements, bkc at murkworks.com (315)268-1000 http://www.murkworks.com AOL-IM or SKYPE: BKClements -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.python.org/pipermail/pythonce/attachments/20060111/7f731e7d/attachment.html From brian at ablelinktech.com Thu Jan 12 00:43:04 2006 From: brian at ablelinktech.com (Brian Brown) Date: Wed, 11 Jan 2006 16:43:04 -0700 Subject: [PythonCE] rudimentary pythonce home page setup In-Reply-To: <43C550B8.13333.2AA0F885@bkc.murkworks.com> References: <43C550B8.13333.2AA0F885@bkc.murkworks.com> Message-ID: We are also willing to host it on a trac site, like http:// www.techgame.net/projects/framework if you want.... we have svn set up as well. Brian On Jan 11, 2006, at 4:38 PM, Brad Clements wrote: > http://pythonce.sourceforge.net/ > > checked into cvs as web module. > > I am planning on migrating the existing pythonce wiki to moinmoin, > unless someone has a better idea? > > Note that moinmoin folks so "don't bother to host on sf, too slow", > so I'll put the new wiki at murkworks.com > > I'm not sure what content to put on the pythonce home page, so it's > spartan. > > > > > -- > Brad Clements, bkc at murkworks.com (315)268-1000 > http://www.murkworks.com > AOL-IM or SKYPE: BKClements > > _______________________________________________ > PythonCE mailing list > PythonCE at python.org > http://mail.python.org/mailman/listinfo/pythonce -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.python.org/pipermail/pythonce/attachments/20060111/e7cb9b96/attachment.htm From coder_infidel at hotmail.com Thu Jan 12 13:32:22 2006 From: coder_infidel at hotmail.com (Luke Dunstan) Date: Thu, 12 Jan 2006 20:32:22 +0800 Subject: [PythonCE] rudimentary pythonce home page setup References: <43C550B8.13333.2AA0F885@bkc.murkworks.com> Message-ID: Thanks. Looking forward to the new wiki... Luke ----- Original Message ----- From: Brad Clements To: pythonce at python.org Sent: Thursday, January 12, 2006 7:38 AM Subject: [PythonCE] rudimentary pythonce home page setup http://pythonce.sourceforge.net/ checked into cvs as web module. I am planning on migrating the existing pythonce wiki to moinmoin, unless someone has a better idea? Note that moinmoin folks so "don't bother to host on sf, too slow", so I'll put the new wiki at murkworks.com I'm not sure what content to put on the pythonce home page, so it's spartan. -- Brad Clements, bkc at murkworks.com (315)268-1000 http://www.murkworks.com AOL-IM or SKYPE: BKClements ------------------------------------------------------------------------------ _______________________________________________ PythonCE mailing list PythonCE at python.org http://mail.python.org/mailman/listinfo/pythonce -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.python.org/pipermail/pythonce/attachments/20060112/19214e76/attachment.html From theller at python.net Fri Jan 13 19:32:17 2006 From: theller at python.net (Thomas Heller) Date: Fri, 13 Jan 2006 19:32:17 +0100 Subject: [PythonCE] How do you develop on the PocketPC? References: Message-ID: <4q48kmha.fsf@python.net> We have three more or less complete and tested rapi modules. I have to admit that after reading it I like Luke's module better than the TechGame one, although I found at least one error in it (CeCreateProcess must take a pointer to PROCESS_INFORMATION). We have the script that I posted which implements the start of a remote Python interpreter. I don't know what others think of it, but I find it pretty cool, it lets me try out code on the PDA without having to fiddle with this stick ;-). How should we proceed? Create a development environment for CE, based on ctypes? Where should the repository be? Who is interested in developing it? And so on. For ctypes, wrapping the *complete* rapi functions would be an interesting experiment, also for automated code generation. Large enough to be interesting, small enough to be ready in limited time. Thomas From coder_infidel at hotmail.com Sat Jan 14 12:42:28 2006 From: coder_infidel at hotmail.com (Luke Dunstan) Date: Sat, 14 Jan 2006 19:42:28 +0800 Subject: [PythonCE] How do you develop on the PocketPC? References: <4q48kmha.fsf@python.net> Message-ID: ----- Original Message ----- From: "Thomas Heller" To: Sent: Saturday, January 14, 2006 2:32 AM Subject: Re: [PythonCE] How do you develop on the PocketPC? > We have three more or less complete and tested rapi modules. I have to > admit that after reading it I like Luke's module better than the > TechGame one, although I found at least one error in it (CeCreateProcess > must take a pointer to PROCESS_INFORMATION). Note that PROCESS_INFORMATION contains an "_as_parameter_" property that takes the address for you. I would agree to removing this though because it may be more confusing than convenient. > We have the script that I posted which implements the start of a remote > Python interpreter. I don't know what others think of it, but I find it > pretty cool, it lets me try out code on the PDA without having to fiddle > with this stick ;-). I forgot to mention it earlier but I am actually using your script most of the time instead of the default PythonCE shell :-). > How should we proceed? > > Create a development environment for CE, based on ctypes? I think everyone will have different ideas of what a "development environment for CE" should be, and a wiki page is probably a good way to collect the ideas. It would also be nice if an existing IDE or something could be modified and extended to allow remote development for Windows CE, because it would save a lot of time compared to creating it from scratch. Off the top of my head I would like an IDE with the following features: - Remote interactive Python shell like the one you posted - Source code editor with the usual features (to be elaborated later) - Integrated remote debugger like winpdb - GUI written in wxPython (this is just my preference and the reasons can be discussed later) - Preferably doesn't require manual installation of device-side components apart from the standard PythonCE, i.e. it should install the rest automatically - Perhaps an integrated remote display function like ActiveSync Remote Display or VNC, because this would be important for developing graphical Python apps for Windows CE That should be enough to kick off discussion. > Where should the repository be? I think it should be part of the PythonCE project on SourceForge because I imagine it would appeal to most users and because I think it is too small to require a separate project at this stage. > Who is interested in developing it? I am interested in working on it but I will be going on holiday soon for around 3 weeks, so I won't be available immediately. > > And so on. > > For ctypes, wrapping the *complete* rapi functions would be an > interesting experiment, also for automated code generation. Large > enough to be interesting, small enough to be ready in limited time. > > Thomas Yes, it would be interesting and I may try it some time. So many ideas, so little time :-). Luke From brian at ablelinktech.com Sat Jan 14 21:01:03 2006 From: brian at ablelinktech.com (Brian Brown) Date: Sat, 14 Jan 2006 13:01:03 -0700 Subject: [PythonCE] How do you develop on the PocketPC? In-Reply-To: References: <4q48kmha.fsf@python.net> Message-ID: <4457E629-47CB-4658-88F6-E2247CC0C77A@ablelinktech.com> On Jan 13, 2006, at 11:32 AM, Thomas Heller wrote: > We have three more or less complete and tested rapi modules. I > have to > admit that after reading it I like Luke's module better than the > TechGame one, although I found at least one error in it > (CeCreateProcess > must take a pointer to PROCESS_INFORMATION). > > Which one did you find the error in? And whichever one we want to use as a base is fine with me; if you like Luke's module better, then we can use that. I need copy, though ;) > We have the script that I posted which implements the start of a > remote > Python interpreter. I don't know what others think of it, but I > find it > pretty cool, it lets me try out code on the PDA without having to > fiddle > with this stick ;-). > > I agree :) > How should we proceed? > > Create a development environment for CE, based on ctypes? > Yes, I think we should do this > > Where should the repository be? > > We can host it, I can create a trac project at http:// www.techgame.net/projects/ceDev or something.... Just let me know and I can set it up. It would have an svn repository. > Who is interested in developing it? > > We can contribute to the development, so who else wants to get on board? > And so on. > > For ctypes, wrapping the *complete* rapi functions would be an > interesting experiment, also for automated code generation. Large > enough to be interesting, small enough to be ready in limited time. > > Thomas > > Brian > _______________________________________________ > PythonCE mailing list > PythonCE at python.org > http://mail.python.org/mailman/listinfo/pythonce From kitsune_e at yahoo.com Mon Jan 16 23:54:04 2006 From: kitsune_e at yahoo.com (Ed Blake) Date: Mon, 16 Jan 2006 14:54:04 -0800 (PST) Subject: [PythonCE] IdleCE (or how I develop for WinCE) Message-ID: <20060116225404.5395.qmail@web50204.mail.yahoo.com> 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) Better file change tracking (requires a change in Tkinter.py) Addition of MDI (Multi-Document-Interface) Better syntax highlighting (better, not good) The syntax highlighting editor is now broken out into its own module, and is accompanied by a wrapper class which gives a simpler interface and automatic scroll bars. If you want to add IdleCE to your start menu programs you should put the editor.py file in your python/lib directory. There is a bug in Tkinter.py in the edit method of the Text class. If the edit methods is handling a 'modified' request it needs to use getboolean not getints. Fixes are discussed in the IdleCE readme. One extra addition: a memory leak. Somewhere in the code that manages multiple documents something is getting a referance to my documents and not letting it go. The result (as tested on WindowsXP) is that even after a document is closed its memory isn't freed. All the referances are eventually killed when you close the program. I haven't been able to track this down, so don't use the same IdleCE session for more than a 4-5 documents without exiting. How I develop Python programs for CE. First I write them and get them working decent on a regular windows PC (using only supported modules). Then I copy the file(s) into a scripts directory on my storage card and run them. If I get any tracebacks I can open them up in IdleCE and poke around the problem. If the problem is serious enough I go back to testing on PC. For small programs/experiments I write/test them right in IdleCE (oh suprise). It's nice to see some people getting active, supporting Python on pocketPC/WinCE. It really is pretty stable and usable, it's just that there's so much out of date information floating around and no central site for the current stuff. I'm glad somebody is trying to fix that. From andy at andybak.net Tue Jan 17 14:06:11 2006 From: andy at andybak.net (Andy Baker) Date: Tue, 17 Jan 2006 13:06:11 +0000 Subject: [PythonCE] Tkinter binaries Message-ID: <85d9ccbb0601170506n633e205fmee920a647ecb9d75@mail.gmail.com> With the nice shiny new installer for PythonCE 2.3.5 this is the only dependency. How can we make it as painless as possible for people to get these when they download the installer? Can we have them appear on the Sourceforge download page? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.python.org/pipermail/pythonce/attachments/20060117/b08000ef/attachment.htm From dc at openapp.biz Tue Jan 17 18:50:11 2006 From: dc at openapp.biz (david creane) Date: Tue, 17 Jan 2006 17:50:11 +0000 Subject: [PythonCE] How to edit registry on pocketpc to change how IE displays python files. Message-ID: <200601171750.11243.dc@openapp.biz> Ive installed pythonce and Tkinter on a pocketpc 2003 2nd edition. And it runs any python scripts on it. I want to be able to connect to a python file on a share and have it run the python file but in Internet explorer it just opens the python file as a text file. So i downloaded a registry editor on the pocketpc to try and change the way IE opens the file. Either to open it up in a save as dialog box and the run the python file like it would do for say an mp3 file or to run the python file directly in IE somehow. However im not sure what needs to be changed in the registry. In the python file I tried adding a BroswerFlag to the .py under file associations but that didnt seem to work. Any help would be appreciated on whether this can be done. From stewart.midwinter at gmail.com Tue Jan 17 21:34:57 2006 From: stewart.midwinter at gmail.com (Stewart Midwinter) Date: Tue, 17 Jan 2006 13:34:57 -0700 Subject: [PythonCE] How to edit registry on pocketpc to change how IE displays python files. In-Reply-To: <200601171750.11243.dc@openapp.biz> References: <200601171750.11243.dc@openapp.biz> Message-ID: David, there should be a script that edits the registry for you, and it comes with a shortcut to help run it. Which version of PythonCE did you install? S From fuzzyman at voidspace.org.uk Wed Jan 18 09:40:15 2006 From: fuzzyman at voidspace.org.uk (Fuzzyman) Date: Wed, 18 Jan 2006 08:40:15 +0000 Subject: [PythonCE] How to edit registry on pocketpc to change how IE displays python files. In-Reply-To: References: <200601171750.11243.dc@openapp.biz> Message-ID: <43CDFEEF.10104@voidspace.org.uk> Stewart Midwinter wrote: >David, there should be a script that edits the registry for you, and >it comes with a shortcut to help run it. Which version of PythonCE >did you install? > > > > It didn't work for me. The one supplied seem to need running on the PC (using cereg.exe) not the PocketPC - and it defines various *extra* entries as well. It didn't work for me yet anyway. I haven't yet taken the manual steps described to get it working. I was re-installing over a previous install. All the best, Fuzzyman http://www.voidspace.org.uk/python/index.shtml >S >_______________________________________________ >PythonCE mailing list >PythonCE at python.org >http://mail.python.org/mailman/listinfo/pythonce > > > From theller at python.net Wed Jan 18 11:31:55 2006 From: theller at python.net (Thomas Heller) Date: Wed, 18 Jan 2006 11:31:55 +0100 Subject: [PythonCE] How to edit registry on pocketpc to change how IE displays python files. In-Reply-To: <43CDFEEF.10104@voidspace.org.uk> (fuzzyman@voidspace.org.uk's message of "Wed, 18 Jan 2006 08:40:15 +0000") References: <200601171750.11243.dc@openapp.biz> <43CDFEEF.10104@voidspace.org.uk> Message-ID: Fuzzyman writes: > Stewart Midwinter wrote: > >>David, there should be a script that edits the registry for you, and >>it comes with a shortcut to help run it. Which version of PythonCE >>did you install? >> >> >> >> > It didn't work for me. The one supplied seem to need running on the PC > (using cereg.exe) not the PocketPC - and it defines various *extra* > entries as well. It didn't work for me yet anyway. > > I haven't yet taken the manual steps described to get it working. I was > re-installing over a previous install. Here is the script that I used (maybe it is from Luke): # # Setup the registry to allow us to double click on python scripts # from _winreg import * print "Setting up registry to allow\ndouble clicking of Python files to work" # # Create the registry entries for ".py" and ".pyc" extensions # for Name in (".py", ".pyc"): Key = CreateKey(HKEY_CLASSES_ROOT, Name) SetValue(Key, None, REG_SZ, "Python.File") CloseKey(Key) # # Create HKEY_CLASSES_ROOT\Python.File\Shell\Open\Command = "\Program Files\Python\Python.exe" "%1" # Key = CreateKey(HKEY_CLASSES_ROOT, "Python.File") for Name in ("Shell","Open","Command"): New_Key= CreateKey(Key, Name) CloseKey(Key) Key = New_Key SetValue(Key, None, REG_SZ, "\"\\Program Files\\Python\\Python.exe\" \"%1\"") CloseKey(Key) import time time.sleep(5) I did run it with 'execfile(r"\My Documents\Scripts\setup-registry.py")' on the pocket PC itself, from within Python. What I didn't achieve so far was to associate a useful icon with .py files, maybe someone could post the registry entries for that? Thomas From fuzzyman at voidspace.org.uk Wed Jan 18 11:55:19 2006 From: fuzzyman at voidspace.org.uk (Fuzzyman) Date: Wed, 18 Jan 2006 10:55:19 +0000 Subject: [PythonCE] How to edit registry on pocketpc to change how IE displays python files. In-Reply-To: References: <200601171750.11243.dc@openapp.biz> <43CDFEEF.10104@voidspace.org.uk> Message-ID: <43CE1E97.9010207@voidspace.org.uk> Thomas Heller wrote: >Fuzzyman writes: > > > >>Stewart Midwinter wrote: >> >> >> >>>David, there should be a script that edits the registry for you, and >>>it comes with a shortcut to help run it. Which version of PythonCE >>>did you install? >>> >>> >>> >>> >>> >>> >>It didn't work for me. The one supplied seem to need running on the PC >>(using cereg.exe) not the PocketPC - and it defines various *extra* >>entries as well. It didn't work for me yet anyway. >> >>I haven't yet taken the manual steps described to get it working. I was >>re-installing over a previous install. >> >> > >Here is the script that I used (maybe it is from Luke): > ># ># Setup the registry to allow us to double click on python scripts ># >from _winreg import * > >print "Setting up registry to allow\ndouble clicking of Python files to work" > ># ># Create the registry entries for ".py" and ".pyc" extensions ># >for Name in (".py", ".pyc"): > Key = CreateKey(HKEY_CLASSES_ROOT, Name) > SetValue(Key, None, REG_SZ, "Python.File") > CloseKey(Key) > ># ># Create HKEY_CLASSES_ROOT\Python.File\Shell\Open\Command = "\Program Files\Python\Python.exe" "%1" ># >Key = CreateKey(HKEY_CLASSES_ROOT, "Python.File") >for Name in ("Shell","Open","Command"): > New_Key= CreateKey(Key, Name) > CloseKey(Key) > Key = New_Key >SetValue(Key, None, REG_SZ, "\"\\Program Files\\Python\\Python.exe\" \"%1\"") >CloseKey(Key) > >import time >time.sleep(5) > >I did run it with 'execfile(r"\My Documents\Scripts\setup-registry.py")' >on the pocket PC itself, from within Python. > >What I didn't achieve so far was to associate a useful icon with .py >files, maybe someone could post the registry entries for that? > > > This associates '.py' with Python. There was a separate distribution of Tk/Tkinter posted to the group recently (or at least a URL). This was purportedly more recent than other versions available for download. This distribution had a Tcl script to transfer the files to the PocketPC, this script 'hung' on me, so I followed the manual instructions. As part of this it included a batch file (that needed editing appropriately) to setup the registry entries on the PocketPC so that Python can find the install of Tk. It uses ``cereg.exe`` run on the PC (AFAICT) to make the registry entries. It's possible of course that it ought to be run on the PocketPC - maybe I'll try that. (It certainly didn't work for me, but then it didn't report errors either, which you would expect if you try to run a PocketPC application on the desktop). All the best, Fuzzyman http://www.voidspace.org.uk/python/index.shtml >Thomas > > > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.python.org/pipermail/pythonce/attachments/20060118/0c9394cd/attachment.html From fuzzyman at voidspace.org.uk Wed Jan 18 12:02:40 2006 From: fuzzyman at voidspace.org.uk (Fuzzyman) Date: Wed, 18 Jan 2006 11:02:40 +0000 Subject: [PythonCE] How to edit registry on pocketpc to change how IE displays python files. In-Reply-To: <43CE1E97.9010207@voidspace.org.uk> References: <200601171750.11243.dc@openapp.biz> <43CDFEEF.10104@voidspace.org.uk> <43CE1E97.9010207@voidspace.org.uk> Message-ID: <43CE2050.6010702@voidspace.org.uk> Fuzzyman wrote: > Thomas Heller wrote: > >>Fuzzyman writes: >> >> >> >>>Stewart Midwinter wrote: >>> >>> >>> >>>>David, there should be a script that edits the registry for you, and >>>>it comes with a shortcut to help run it. Which version of PythonCE >>>>did you install? >>>> >>>> >>>> >>>> >>>> >>>> >>>It didn't work for me. The one supplied seem to need running on the PC >>>(using cereg.exe) not the PocketPC - and it defines various *extra* >>>entries as well. It didn't work for me yet anyway. >>> >>>I haven't yet taken the manual steps described to get it working. I was >>>re-installing over a previous install. >>> >>> >> >>Here is the script that I used (maybe it is from Luke): >> >># >># Setup the registry to allow us to double click on python scripts >># >>from _winreg import * >> >>print "Setting up registry to allow\ndouble clicking of Python files to work" >> >># >># Create the registry entries for ".py" and ".pyc" extensions >># >>for Name in (".py", ".pyc"): >> Key = CreateKey(HKEY_CLASSES_ROOT, Name) >> SetValue(Key, None, REG_SZ, "Python.File") >> CloseKey(Key) >> >># >># Create HKEY_CLASSES_ROOT\Python.File\Shell\Open\Command = "\Program Files\Python\Python.exe" "%1" >># >>Key = CreateKey(HKEY_CLASSES_ROOT, "Python.File") >>for Name in ("Shell","Open","Command"): >> New_Key= CreateKey(Key, Name) >> CloseKey(Key) >> Key = New_Key >>SetValue(Key, None, REG_SZ, "\"\\Program Files\\Python\\Python.exe\" \"%1\"") >>CloseKey(Key) >> >>import time >>time.sleep(5) >> >>I did run it with 'execfile(r"\My Documents\Scripts\setup-registry.py")' >>on the pocket PC itself, from within Python. >> >>What I didn't achieve so far was to associate a useful icon with .py >>files, maybe someone could post the registry entries for that? >> >> >> > This associates '.py' with Python. There was a separate distribution > of Tk/Tkinter posted to the group recently (or at least a URL). > > This was purportedly more recent than other versions available for > download. This distribution had a Tcl script to transfer the files to > the PocketPC, this script 'hung' on me, so I followed the manual > instructions. As part of this it included a batch file (that needed > editing appropriately) to setup the registry entries on the PocketPC > so that Python can find the install of Tk. > > It uses ``cereg.exe`` run on the PC (AFAICT) to make the registry > entries. It's possible of course that it ought to be run on the > PocketPC - maybe I'll try that. (It certainly didn't work for me, but > then it didn't report errors either, which you would expect if you try > to run a PocketPC application on the desktop). > Hmm... for some reason I misread this post and thought we were talking about Tk/Tkinter. Sorry about that. Anyway, I still have a problem - but I can always manually add the registry entries. All the best, Fuzzyman http://www.voidspace.org.uk/python/index.shtml > All the best, > > > Fuzzyman > http://www.voidspace.org.uk/python/index.shtml > > > >>Thomas >> >> >> >> >> > >------------------------------------------------------------------------ > >_______________________________________________ >PythonCE mailing list >PythonCE at python.org >http://mail.python.org/mailman/listinfo/pythonce > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.python.org/pipermail/pythonce/attachments/20060118/1ac76f17/attachment-0001.htm From subflux at gmail.com Wed Jan 18 12:05:14 2006 From: subflux at gmail.com (Kenneth Gillen) Date: Wed, 18 Jan 2006 11:05:14 +0000 Subject: [PythonCE] A Bluetooth Project with PythonCE .. ? Message-ID: <6037eeda0601180305n48676002rb7e1f174e0856d26@mail.gmail.com> Dear All, I am about to embark on a pocketPC project that will employ bluetooth. I have identified a suitable development environment for this project, but would like to use PythonCE if possible. Can one write bluetooth applications with PythonCE? If so, could anyone point me to a U.R.I. where I could find more information? Many thanks, Kenny From dc at openapp.biz Wed Jan 18 12:29:07 2006 From: dc at openapp.biz (david creane) Date: Wed, 18 Jan 2006 11:29:07 +0000 Subject: [PythonCE] How to edit registry on pocketpc to change how IE displays python files. In-Reply-To: References: <200601171750.11243.dc@openapp.biz> Message-ID: <200601181129.07504.dc@openapp.biz> On Tuesday 17 January 2006 20:34, Stewart Midwinter wrote: > David, there should be a script that edits the registry for you, and > it comes with a shortcut to help run it. Which version of PythonCE > did you install? > > > S I installed the files from Python-2.3.4-arm-PPC2003.zip and Tkinter-Files.zip onto the pocketpc. I already had to edit that registry install file and where to put the folders to get it to work as it didnt put a lib folder in the python folder when i extracted it so i just changed that line in the registry file. When i click on a .py file it runs the file fine. However if i click on the file within Internet Explorer it opens a .py file as a text file. How can i change the file associations within IE so that it either runs the .py file when i click on it or it allows me to download the .py file and run it then. I cannot find a way to edit these things in IE in the registry. Is there a better broswer to download on the pocketpc or is there a way to do what i want on IE. >Thomas Heller wrote: >What I didn't achieve so far was to associate a useful icon with .py >files, maybe someone could post the registry entries for that? If you look at MP3FILE on the registry for example it has a folder called DefaultIcon which has a Default value in it called "wmplayer.exe,-2001" So id say the script for entering in for Python.File would be something like Key = CreateKey(HKEY_CLASSES_ROOT, "Python.File") for Name in ("DefaultIcon"): New_Key= CreateKey(Key, Name) CloseKey(Key) Key = New_Key SetValue(Key, None, REG_SZ, "Link to the icon you want to represent Python") CloseKey(Key) You probably know this but just in case From dc at openapp.biz Wed Jan 18 13:18:35 2006 From: dc at openapp.biz (david creane) Date: Wed, 18 Jan 2006 12:18:35 +0000 Subject: [PythonCE] How to edit registry on pocketpc to change how IE displays python files. In-Reply-To: References: <200601171750.11243.dc@openapp.biz> Message-ID: <200601181218.35953.dc@openapp.biz> Ok i figured it out. Sorry it was apaches fault in the end. My bad. I hadnt the mime-types set up for python files in apache. In /etc/apache2/mime.types i had to add "application/python py". Im not a 100% sure if thats totally correct but it looks right and now on IE on the PocketPC when i click on the .py file it gives me the save then run dialog box. So thanks anyway. From jkrohse at gmail.com Wed Jan 18 18:15:18 2006 From: jkrohse at gmail.com (Joshua Krohse) Date: Wed, 18 Jan 2006 11:15:18 -0600 Subject: [PythonCE] Prompting the user for information Message-ID: <72a687ad0601180915m7fd4a0f6h843455d18b3cc1d7@mail.gmail.com> At one point, I had a bit of code example that showed how to pop up a message box that prompted the user for a string. I have scoured the web for this again and cannot find it. I think it was a win32gui function, but I'm not sure. This may be obvious to long-time PythonCE users, but it certainly isn't to us newbies. I can use Tkinter just fine, but I am looking for alternate ways of getting user input. If you know the function I am talking about, would you please share it? Also, any other methods of prompting for input would be useful. This would be a good topic for a PythonCE Wiki page when there is one. Thanks, Joshua Krohse -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.python.org/pipermail/pythonce/attachments/20060118/327a7cb6/attachment.htm From stewart.midwinter at gmail.com Wed Jan 18 18:32:35 2006 From: stewart.midwinter at gmail.com (Stewart Midwinter) Date: Wed, 18 Jan 2006 10:32:35 -0700 Subject: [PythonCE] Prompting the user for information In-Reply-To: <72a687ad0601180915m7fd4a0f6h843455d18b3cc1d7@mail.gmail.com> References: <72a687ad0601180915m7fd4a0f6h843455d18b3cc1d7@mail.gmail.com> Message-ID: On 1/18/06, Joshua Krohse wrote: > If you know the function I am talking about, would you please share it? > Also, any other methods of prompting for input would be useful. This would > be a good topic for a PythonCE Wiki page when there is one. Joshua, you could try easygui. It's a GUI tool for getting user input in non-GUI programs. It uses Tkinter, but without all of the overhead you'd normally have. You just use a one-liner to get the input. #easygui-example.py from easygui import * import sys while 1: msgbox("Hello, world!") msg ="What is your favorite flavor?" title = "Ice Cream Survey" choices = ["Vanilla", "Chocolate", "Strawberry", "Rocky Road"] choice = choicebox(msg, title, choices) # note that we convert choice to string, in case # the user cancelled the choice, and we got None. msgbox("You chose: " + str(choice), "Survey Result") msg = "Do you want to continue?" cheers, -- Stewart Midwinter stewart at midwinter.ca stewart.midwinter at gmail.com Skype, GoogleTalk, iChatAV, MSN, Yahoo: midtoad AIM:midtoad1 From geoff at gmceng.com Fri Jan 20 01:38:33 2006 From: geoff at gmceng.com (geoff) Date: Fri, 20 Jan 2006 10:38:33 +1000 Subject: [PythonCE] Ideas for New User Please Message-ID: <43D03109.5080407@gmceng.com> Hi group, I guess it?s been answered before, but I have been searching for hours with no luck. I have an application that I wrote and used raw_input successfully for user input that works fine on a pc but not on my pretty new ipaq. Is there an easy way to get it working? Or do I need to learn how to use Tkinter? (I hope not, I really just need simple input). Also, what is the best place to download a working pythonce. I seem to have corrupted the one that I had working last week and tapping a .py file no longer works. Thanks for any useful ideas, Geoff From javirosa at eden.rutgers.edu Fri Jan 20 19:25:57 2006 From: javirosa at eden.rutgers.edu (javirosa at eden.rutgers.edu) Date: Fri, 20 Jan 2006 13:25:57 -0500 (EST) Subject: [PythonCE] Ideas for New User Please (geoff) In-Reply-To: References: Message-ID: <1116.172.23.105.248.1137781557.squirrel@webmail.eden.rutgers.edu> I'm new too. However, as far as I understand the console for CE was removed in recent version. I haven't really worked with user input in pythonCE but perhaps you can use a gui textinput as suggested in a previous post. //START On 1/18/06, Joshua Krohse wrote: > If you know the function I am talking about, would you please share it? > Also, any other methods of prompting for input would be useful. This would > be a good topic for a PythonCE Wiki page when there is one. Joshua, you could try easygui. It's a GUI tool for getting user input in non-GUI programs. It uses Tkinter, but without all of the overhead you'd normally have. You just use a one-liner to get the input. #easygui-example.py from easygui import * import sys while 1: msgbox("Hello, world!") msg ="What is your favorite flavor?" title = "Ice Cream Survey" choices = ["Vanilla", "Chocolate", "Strawberry", "Rocky Road"] choice = choicebox(msg, title, choices) # note that we convert choice to string, in case # the user cancelled the choice, and we got None. msgbox("You chose: " + str(choice), "Survey Result") msg = "Do you want to continue?" cheers, -- Stewart Midwinter stewart at midwinter.ca stewart.midwinter at gmail.com Skype, GoogleTalk, iChatAV, MSN, Yahoo: midtoad AIM:midtoad1 //END > Subject: [PythonCE] Ideas for New User Please > > Hi group, > > I guess it?s been answered before, but I have been searching for hours > with no luck. > > I have an application that I wrote and used raw_input successfully for > user input that works fine on a pc but not on my pretty new ipaq. > > Is there an easy way to get it working? > > Or do I need to learn how to use Tkinter? (I hope not, I really just > need simple input). > > Also, what is the best place to download a working pythonce. I seem to > have corrupted the one that I had working last week and tapping a .py > file no longer works. > > Thanks for any useful ideas, > > > Geoff From theller at python.net Fri Jan 20 21:40:00 2006 From: theller at python.net (Thomas Heller) Date: Fri, 20 Jan 2006 21:40:00 +0100 Subject: [PythonCE] How do you develop on the PocketPC? References: <4q48kmha.fsf@python.net> Message-ID: (Sorry for the late reply - sooo much to do ;-) "Luke Dunstan" writes: > From: "Thomas Heller" > >> We have three more or less complete and tested rapi modules. I have to >> admit that after reading it I like Luke's module better than the >> TechGame one, although I found at least one error in it (CeCreateProcess >> must take a pointer to PROCESS_INFORMATION). > > Note that PROCESS_INFORMATION contains an "_as_parameter_" property > that takes the address for you. I would agree to removing this though > because it may be more confusing than convenient. I totally forgot about the _as_parameter_ mechanism (even though it is documented in the tutorial). Problem with it is that it's not compatible with argtypes, iirc. >> We have the script that I posted which implements the start of a remote >> Python interpreter. I don't know what others think of it, but I find it >> pretty cool, it lets me try out code on the PDA without having to fiddle >> with this stick ;-). > > I forgot to mention it earlier but I am actually using your script most of > the time instead of the default PythonCE shell :-). Cool. >> How should we proceed? >> >> Create a development environment for CE, based on ctypes? > > I think everyone will have different ideas of what a "development > environment for CE" should be, and a wiki page is probably a good way to > collect the ideas. It would also be nice if an existing IDE or something > could be modified and extended to allow remote development for Windows CE, > because it would save a lot of time compared to creating it from scratch. > Off the top of my head I would like an IDE with the following features: > > - Remote interactive Python shell like the one you posted > - Source code editor with the usual features (to be elaborated later) > - Integrated remote debugger like winpdb > - GUI written in wxPython (this is just my preference and the reasons can be > discussed later) > - Preferably doesn't require manual installation of device-side components > apart from the standard PythonCE, i.e. it should install the rest > automatically > - Perhaps an integrated remote display function like ActiveSync Remote > Display or VNC, because this would be important for developing graphical > Python apps for Windows CE > > That should be enough to kick off discussion. Ok, here are my thoughts in this: I prefer xemacs as IDE, and normally do not use debuggers (ok, sometimes pdb from the console). I plan to extend the remote interactive shell to accept all parameters that python.exe takes, then it could be used edit the code script in xemacs, and execute it on the pda by hitting C-c C-c. I also have already extended the remote console to be configuration-free, the desktop's IP address is passed as parameter. Later, the device-side script can be transferred automatically from the desktop with rapi calls. But this shouldn't discourage you from the above ideas - sounds great anyway. >> Where should the repository be? > > I think it should be part of the PythonCE project on SourceForge because I > imagine it would appeal to most users and because I think it is too small to > require a separate project at this stage. > >> Who is interested in developing it? > > I am interested in working on it but I will be going on holiday soon for > around 3 weeks, so I won't be available immediately. >> Where should the repository be? >> >> > Brian Brown writes: > We can host it, I can create a trac project at http:// > www.techgame.net/projects/ceDev or something.... > > Just let me know and I can set it up. It would have an svn repository. > > >> Who is interested in developing it? >> >> > > We can contribute to the development, so who else wants to get on board? So, it seems we have to decide whether the project should be hosted inside the PythonCE project on SF, or a trac project on techgame. And i seems Brian, Luke, and me would be interested as developers. Not a bad start, if you ask me. Thomas From sxn02 at yahoo.com Sun Jan 22 05:07:56 2006 From: sxn02 at yahoo.com (Sori Schwimmer) Date: Sat, 21 Jan 2006 20:07:56 -0800 (PST) Subject: [PythonCE] Asynchronous communication Message-ID: <20060122040756.71625.qmail@web33614.mail.mud.yahoo.com> Hi, Is there an implementation of the CCeSocket? (http://msdn.microsoft.com/library/?url=/library/en-us/dv_wcemfc4/html/aflrfccesocket.asp) Or any other way to deal with asynchronous events? Thanks, Sorin __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com From danielbdavis at gmail.com Mon Jan 23 00:24:06 2006 From: danielbdavis at gmail.com (Daniel Davis) Date: Sun, 22 Jan 2006 15:24:06 -0800 Subject: [PythonCE] remove me please Message-ID: <86a0a3b10601221524o67289797gc513b5f3049ad51c@mail.gmail.com> please remove me from this list thank you -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.python.org/pipermail/pythonce/attachments/20060122/9b7b2b8e/attachment.html From geoff at gmceng.com Mon Jan 23 09:06:11 2006 From: geoff at gmceng.com (geoff) Date: Mon, 23 Jan 2006 18:06:11 +1000 Subject: [PythonCE] Tkinter and easygui Message-ID: <43D48E73.8080901@gmceng.com> Hi again, still trying to get a simple python programme working. Have uninstalled everything, then: installed PythonCE-2.3.5-20051223-setup to the default location. ie /Program Files/Python run setup-registry this works great thanks. copied easygui.py to /Program Files/Python the Python error screen hides the first screen, but it says something to the effect no module Tkinter. _Tkinter exists in /Program Files/Python/DLLs any ideas please? From stewart.midwinter at gmail.com Mon Jan 23 09:23:36 2006 From: stewart.midwinter at gmail.com (Stewart Midwinter) Date: Mon, 23 Jan 2006 01:23:36 -0700 Subject: [PythonCE] Tkinter and easygui In-Reply-To: <43D48E73.8080901@gmceng.com> References: <43D48E73.8080901@gmceng.com> Message-ID: try telling the interpreter explicitly where your Tkinter is. sys.path.append('/path/to/Tkinter files') in my case it's in '\SD Card\Program Files\Python\Lib\python23.zip\lib-tk' S On 1/23/06, geoff wrote: > the Python error screen hides the first screen, but it says something > to the effect no module Tkinter. -- Stewart Midwinter stewart at midwinter.ca stewart.midwinter at gmail.com Skype, GoogleTalk, iChatAV, MSN, Yahoo: midtoad AIM:midtoad1 From stewart.midwinter at gmail.com Mon Jan 23 19:51:10 2006 From: stewart.midwinter at gmail.com (Stewart Midwinter) Date: Mon, 23 Jan 2006 11:51:10 -0700 Subject: [PythonCE] Tkinter and easygui In-Reply-To: References: <43D48E73.8080901@gmceng.com> <72a687ad0601231045s24888cf6g8ad160d82527a657@mail.gmail.com> Message-ID: note that on the PocketPC, there is often a problem with the windows you create being stuck behind other windows. there's a freeware utility you can get (try http://pocketpcfreewares.com/) that allows you to Alt-Tab between apps by pressing a button - I mapped my Record button on the side of my Toshiba e830 for that purpose. So I can always get to the windows I want. cheers S -- Stewart Midwinter stewart at midwinter.ca stewart.midwinter at gmail.com Skype, GoogleTalk, iChatAV, MSN, Yahoo: midtoad AIM:midtoad1 From geoff at gmceng.com Tue Jan 24 04:28:25 2006 From: geoff at gmceng.com (geoff) Date: Tue, 24 Jan 2006 13:28:25 +1000 Subject: [PythonCE] Tkinter and easygui In-Reply-To: References: Message-ID: <43D59ED9.5080803@gmceng.com> > Date: Mon, 23 Jan 2006 01:23:36 -0700 > From: Stewart Midwinter > Subject: Re: [PythonCE] Tkinter and easygui > To: info at gmceng.com > Cc: pythonce at python.org > Message-ID: > > Content-Type: text/plain; charset=ISO-8859-1 > > try telling the interpreter explicitly where your Tkinter is. > > sys.path.append('/path/to/Tkinter files') > > > in my case it's in '\SD Card\Program Files\Python\Lib\python23.zip\lib-tk' > > S Thanks for the advice. Are you saying that the python23.zip should contain lib-tk? When I copy it back to a pc and open, no such file or directory exists. Also, the autoinstaller puts python23.zip into the following directory: \program files\Python and the only file visible in \program files\Python\lib is called 'os' I have tried removing and reinstaling numerous times. I also tried copying the Tkinter.zip stuff manually and hope this hasn't stuffed things up. Thanks again for any help, Geoff From stewart.midwinter at gmail.com Tue Jan 24 06:49:41 2006 From: stewart.midwinter at gmail.com (Stewart Midwinter) Date: Mon, 23 Jan 2006 22:49:41 -0700 Subject: [PythonCE] Tkinter and easygui In-Reply-To: <43D59ED9.5080803@gmceng.com> References: <43D59ED9.5080803@gmceng.com> Message-ID: On 1/23/06, geoff wrote: > > > Are you saying that the python23.zip should contain lib-tk? When I copy > it back to a pc and open, no such file or directory exists. yep, that's what I'm saying. That's what's on my PDA, anyway. cheers, -- Stewart Midwinter stewart at midwinter.ca stewart.midwinter at gmail.com Skype, GoogleTalk, iChatAV, MSN, Yahoo: midtoad AIM:midtoad1 From guenter.reusing at boschrexroth.de Tue Jan 24 10:06:58 2006 From: guenter.reusing at boschrexroth.de (guenter.reusing at boschrexroth.de) Date: Tue, 24 Jan 2006 10:06:58 +0100 Subject: [PythonCE] numarray or numpy for WinCE Message-ID: Hi, does anyone know of an implementation of "numarray" or "numpy" for WindowsCe (PPC2003)? I would need it compiled for ARM-Processor. Thank you for your hint! regards Guenter -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.python.org/pipermail/pythonce/attachments/20060124/10c6f742/attachment.html From rumata-estor at nm.ru Sat Jan 28 15:35:02 2006 From: rumata-estor at nm.ru (Dmitry Belyaev) Date: Sat, 28 Jan 2006 17:35:02 +0300 Subject: [PythonCE] Ideas for New User Please Message-ID: <43DB8116.8090104@nm.ru> There is console for Pocket PC. There is PocketGCC package at http://pocketgcc.sourceforge.net/down.html and it has 3 cab files. One of them is console for PPC. I found that raw_input() switches to (or creates) pocket console for input. From pdemb at gazeta.pl Sat Jan 28 16:22:10 2006 From: pdemb at gazeta.pl (Peter Dembinski) Date: Sat, 28 Jan 2006 16:22:10 +0100 Subject: [PythonCE] Ideas for New User Please In-Reply-To: <43DB8116.8090104@nm.ru> References: <43DB8116.8090104@nm.ru> Message-ID: On Sat, 28 Jan 2006 15:35:02 +0100, Dmitry Belyaev wrote: > There is console for Pocket PC. There is PocketGCC package at > http://pocketgcc.sourceforge.net/down.html and it has 3 cab files. One > of them is console for PPC. I found console for PocketPC at symbolictools.de. -- Wysokie Obroty Magazyn - nowy miesiecznik motoryzacyjny. Pierwszy numer juz w sprzedazy. Wiecej informacji na: http://auto.gazeta.pl/auto/0,0.html From geoff at gmceng.com Sun Jan 29 09:05:01 2006 From: geoff at gmceng.com (geoff) Date: Sun, 29 Jan 2006 18:05:01 +1000 Subject: [PythonCE] Install Message-ID: <43DC772D.9020104@gmceng.com> ok trying again from scratch as I must be missing something. On the download site: http://sourceforge.net/project/showfiles.php?group_id=104228 there are five files available for download. I have tried using just the: PythonCE-2.3.5-20051223-setup.exe and running from a windoze box which syncs with my ipaq handheld. This works fine for simple command line python stuff. I have been advised here last week to use easygui which in turn uses Tkinter. I have tried copying earlier versions of a Tkinter-Files.zip as suggested on the site: http://tkinter.unpythonic.net/wiki/How_20to_20install_20Tkinter THIS DOES NOT WORK Has anyone installed the latest image successfully? Is there more to this than running the exe file from the desktop machine? Do I need to do more with the other four files on the latest download???? Please help if you can. Python is so easy on a desktop and I would really like to use my one off application when out of the office. Thanks again Geoff From rumata-estor at nm.ru Sun Jan 29 17:27:57 2006 From: rumata-estor at nm.ru (=?UTF-8?B?0JTQvNC40YLRgNC40Lkg0JHQtdC70Y/QtdCy?=) Date: Sun, 29 Jan 2006 19:27:57 +0300 Subject: [PythonCE] Bug in threading module Message-ID: <43DCED0D.8080600@nm.ru> I wrote small program using "threading" module. Inherited "threading.Thread" class and started new thread. Started the program and found that process is terminated when main program is finished even if there are active non-daemonic threads. Checked this program at desktop Python24 and it was executing until thread has finished. From javirosa at eden.rutgers.edu Mon Jan 30 01:47:11 2006 From: javirosa at eden.rutgers.edu (javirosa at eden.rutgers.edu) Date: Sun, 29 Jan 2006 19:47:11 -0500 (EST) Subject: [PythonCE] 3. Install (geoff) In-Reply-To: References: Message-ID: <4102.172.23.105.248.1138582031.squirrel@webmail.eden.rutgers.edu> I had similar difficulties actually. Perhaps I'm just not using Tkinter right but I just get a no module named Tkinter. I unziped the Tkinter-Files into the toplevel directory on my PDA just after installing the latest PythonCE. > Send PythonCE mailing list submissions to > pythonce at python.org > > To subscribe or unsubscribe via the World Wide Web, visit > http://mail.python.org/mailman/listinfo/pythonce > or, via email, send a message with subject or body 'help' to > pythonce-request at python.org > > You can reach the person managing the list at > pythonce-owner at python.org > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of PythonCE digest..." > > > Today's Topics: > > 1. Ideas for New User Please (Dmitry Belyaev) > 2. Re: Ideas for New User Please (Peter Dembinski) > 3. Install (geoff) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Sat, 28 Jan 2006 17:35:02 +0300 > From: Dmitry Belyaev > Subject: [PythonCE] Ideas for New User Please > To: pythonce at python.org > Message-ID: <43DB8116.8090104 at nm.ru> > Content-Type: text/plain; charset=windows-1251; format=flowed > > There is console for Pocket PC. There is PocketGCC package at > http://pocketgcc.sourceforge.net/down.html and it has 3 cab files. One > of them is console for PPC. > I found that raw_input() switches to (or creates) pocket console for > input. > > > ------------------------------ > > Message: 2 > Date: Sat, 28 Jan 2006 16:22:10 +0100 > From: "Peter Dembinski" > Subject: Re: [PythonCE] Ideas for New User Please > To: "Dmitry Belyaev" , pythonce at python.org > Message-ID: > Content-Type: text/plain; format=flowed; delsp=yes; charset=us-ascii > > On Sat, 28 Jan 2006 15:35:02 +0100, Dmitry Belyaev > wrote: > >> There is console for Pocket PC. There is PocketGCC package at >> http://pocketgcc.sourceforge.net/down.html and it has 3 cab files. One >> of them is console for PPC. > > I found console for PocketPC at symbolictools.de. > > -- > Wysokie Obroty Magazyn - nowy miesiecznik motoryzacyjny. Pierwszy numer > juz w sprzedazy. > Wiecej informacji na: http://auto.gazeta.pl/auto/0,0.html > > > ------------------------------ > > Message: 3 > Date: Sun, 29 Jan 2006 18:05:01 +1000 > From: geoff > Subject: [PythonCE] Install > To: pythonce at python.org > Message-ID: <43DC772D.9020104 at gmceng.com> > Content-Type: text/plain; charset=ISO-8859-1; format=flowed > > ok trying again from scratch as I must be missing something. > > On the download site: > > http://sourceforge.net/project/showfiles.php?group_id=104228 > > there are five files available for download. > > I have tried using just the: > > PythonCE-2.3.5-20051223-setup.exe > > and running from a windoze box which syncs with my ipaq handheld. > > This works fine for simple command line python stuff. > > I have been advised here last week to use easygui which in turn uses > Tkinter. > > I have tried copying earlier versions of a Tkinter-Files.zip as > suggested on the site: > > http://tkinter.unpythonic.net/wiki/How_20to_20install_20Tkinter > > THIS DOES NOT WORK > > Has anyone installed the latest image successfully? > > Is there more to this than running the exe file from the desktop machine? > > Do I need to do more with the other four files on the latest download???? > > Please help if you can. Python is so easy on a desktop and I would > really like to use my one off application when out of the office. > > Thanks again > > > Geoff > > > > ------------------------------ > > _______________________________________________ > PythonCE mailing list > PythonCE at python.org > http://mail.python.org/mailman/listinfo/pythonce > > > End of PythonCE Digest, Vol 30, Issue 26 > **************************************** > From jasonmadams at gmail.com Mon Jan 30 04:35:47 2006 From: jasonmadams at gmail.com (Jason Adams) Date: Sun, 29 Jan 2006 22:35:47 -0500 Subject: [PythonCE] Bug in threading module In-Reply-To: <43DCED0D.8080600@nm.ru> References: <43DCED0D.8080600@nm.ru> Message-ID: I was under the impression that threading wasn't fully supported on pythonCE and the thread class is just a dummy class. Has this changed or am I just plain wrong? On 1/29/06, ??????? ?????? wrote: > I wrote small program using "threading" module. Inherited > "threading.Thread" class and started new thread. Started the program and > found that process is terminated when main program is finished even if > there are active non-daemonic threads. > Checked this program at desktop Python24 and it was executing until > thread has finished. > _______________________________________________ > PythonCE mailing list > PythonCE at python.org > http://mail.python.org/mailman/listinfo/pythonce > From rumata-estor at nm.ru Mon Jan 30 13:26:03 2006 From: rumata-estor at nm.ru (Dmitry Belyaev) Date: Mon, 30 Jan 2006 15:26:03 +0300 Subject: [PythonCE] xml support Message-ID: <43DE05DB.1050909@nm.ru> Yesterday I decided to write simple xml-parsing application. Tried "xml.sax" and "xml.dom.minidom" modules. Program using "xml.sax" module printed "No parsers found" while desktop version worked fine. I Is there in PythonCE any working xml-parser or I have to parse xml by hands? From jan.ischebeck at p3-gmbh.de Mon Jan 30 14:28:15 2006 From: jan.ischebeck at p3-gmbh.de (Ischebeck, Jan) Date: Mon, 30 Jan 2006 14:28:15 +0100 Subject: [PythonCE] xml support References: <43DE05DB.1050909@nm.ru> Message-ID: Hi Dmitry, Yes, there is at least one xml parser for python ce. You can compile the pyexpat module included in the main python source. (You can find a makefile patch at the sourceforge side) I'm sorry, but I don't have an up to date binary version at hand. My binary is based on Kashtan's first version. Kind Regards Jan Ischebeck ------------------------------------------------------------------------------------ P3 GmbH - Ingenieurgesellschaft f?r Management und Organisation Jan Ischebeck Senior Consultant N?rtinger Stra?e 9 70794 Filderstadt-Bernhausen phone: +49 - (0)163 / 75 33 613 fax: +49 - (0)163 / 99 75 33 613 e-mail: jan.ischebeck at p3-gmbh.de web: www.p3-gmbh.de -----Urspr?ngliche Nachricht----- Von: pythonce-bounces+jan.ischebeck=p3-gmbh.de at python.org im Auftrag von Dmitry Belyaev Gesendet: Mo 30-Jan-06 21:26 An: pythonce at python.org Betreff: [PythonCE] xml support Yesterday I decided to write simple xml-parsing application. Tried "xml.sax" and "xml.dom.minidom" modules. Program using "xml.sax" module printed "No parsers found" while desktop version worked fine. I Is there in PythonCE any working xml-parser or I have to parse xml by hands? _______________________________________________ PythonCE mailing list PythonCE at python.org http://mail.python.org/mailman/listinfo/pythonce From stewart.midwinter at gmail.com Mon Jan 30 16:18:15 2006 From: stewart.midwinter at gmail.com (Stewart Midwinter) Date: Mon, 30 Jan 2006 08:18:15 -0700 Subject: [PythonCE] xml support In-Reply-To: <43DE05DB.1050909@nm.ru> References: <43DE05DB.1050909@nm.ru> Message-ID: try elementTree from http://effbot.org. s On 1/30/06, Dmitry Belyaev wrote: > Is there in PythonCE any working xml-parser or I have to parse xml by hands? From rumata-estor at nm.ru Mon Jan 30 19:32:31 2006 From: rumata-estor at nm.ru (Dmitry Belyaev) Date: Mon, 30 Jan 2006 21:32:31 +0300 Subject: [PythonCE] xml support In-Reply-To: References: <43DE05DB.1050909@nm.ru> Message-ID: <43DE5BBF.6090904@nm.ru> I found that elementTree uses obsolete module "xmllib". Besides, neither xmllib nor xml.sax are available at PythonCE. Stewart Midwinter wrote: > try elementTree from http://effbot.org. > > s > > > On 1/30/06, Dmitry Belyaev wrote: > >>Is there in PythonCE any working xml-parser or I have to parse xml by hands? > From rumata-estor at nm.ru Mon Jan 30 19:42:59 2006 From: rumata-estor at nm.ru (Dmitry Belyaev) Date: Mon, 30 Jan 2006 21:42:59 +0300 Subject: [PythonCE] xml support In-Reply-To: References: <43DE05DB.1050909@nm.ru> Message-ID: <43DE5E33.9020102@nm.ru> I doubt anything from "main python source" can be compiled for WinCE without any changes to the sources. I an not WinCE specialist, so I am doubt I am able to make necessary changes and compile that module. My last attempt to compile PythonCE version failed, so I decided to download only binaries =) Ischebeck, Jan wrote: > Hi Dmitry, > > Yes, there is at least one xml parser for python ce. > You can compile the pyexpat module included in the main python source. > (You can find a makefile patch at the sourceforge side) > > I'm sorry, but I don't have an up to date binary version at hand. > My binary is based on Kashtan's first version. > > Kind Regards > > Jan Ischebeck > > ------------------------------------------------------------------------------------ > > P3 GmbH - Ingenieurgesellschaft f?r Management und Organisation > > Jan Ischebeck > Senior Consultant > > N?rtinger Stra?e 9 > 70794 Filderstadt-Bernhausen > > phone: +49 - (0)163 / 75 33 613 > fax: +49 - (0)163 / 99 75 33 613 > e-mail: jan.ischebeck at p3-gmbh.de > web: www.p3-gmbh.de > > > > -----Urspr?ngliche Nachricht----- > Von: pythonce-bounces+jan.ischebeck=p3-gmbh.de at python.org im Auftrag von Dmitry Belyaev > Gesendet: Mo 30-Jan-06 21:26 > An: pythonce at python.org > Betreff: [PythonCE] xml support > > Yesterday I decided to write simple xml-parsing application. Tried > "xml.sax" and "xml.dom.minidom" modules. Program using "xml.sax" module > printed "No parsers found" while desktop version worked fine. I > Is there in PythonCE any working xml-parser or I have to parse xml by hands? > _______________________________________________ > PythonCE mailing list > PythonCE at python.org > http://mail.python.org/mailman/listinfo/pythonce > From brian at cococorp.com Mon Jan 30 19:58:24 2006 From: brian at cococorp.com (Brian Retford) Date: Mon, 30 Jan 2006 10:58:24 -0800 Subject: [PythonCE] xml support In-Reply-To: <43DE5E33.9020102@nm.ru> References: <43DE05DB.1050909@nm.ru> <43DE5E33.9020102@nm.ru> Message-ID: <43DE61D0.9000008@cococorp.com> Sgmlop is fairly easy to get working on wince (one c file, one py file). It looks like Elementtree supports using sgmlop as well. Sgmlop is very fast but necessarily the most correct xml parser out there. Expat is also relatively easy to compile for WinCE. Brian Retford 206.349.7060 Software Development Manager Coco Communications Corp -- e pluribus unum -- Dmitry Belyaev wrote: > I doubt anything from "main python source" can be compiled for WinCE > without any changes to the sources. I an not WinCE specialist, so I am > doubt I am able to make necessary changes and compile that module. > My last attempt to compile PythonCE version failed, so I decided to > download only binaries =) > > Ischebeck, Jan wrote: > >>Hi Dmitry, >> >>Yes, there is at least one xml parser for python ce. >>You can compile the pyexpat module included in the main python source. >>(You can find a makefile patch at the sourceforge side) >> >>I'm sorry, but I don't have an up to date binary version at hand. >>My binary is based on Kashtan's first version. >> >>Kind Regards >> >>Jan Ischebeck >> >>------------------------------------------------------------------------------------ >> >>P3 GmbH - Ingenieurgesellschaft f?r Management und Organisation >> >>Jan Ischebeck >>Senior Consultant >> >>N?rtinger Stra?e 9 >>70794 Filderstadt-Bernhausen >> >>phone: +49 - (0)163 / 75 33 613 >>fax: +49 - (0)163 / 99 75 33 613 >>e-mail: jan.ischebeck at p3-gmbh.de >>web: www.p3-gmbh.de >> >> >> >>-----Urspr?ngliche Nachricht----- >>Von: pythonce-bounces+jan.ischebeck=p3-gmbh.de at python.org im Auftrag von Dmitry Belyaev >>Gesendet: Mo 30-Jan-06 21:26 >>An: pythonce at python.org >>Betreff: [PythonCE] xml support >> >>Yesterday I decided to write simple xml-parsing application. Tried >>"xml.sax" and "xml.dom.minidom" modules. Program using "xml.sax" module >>printed "No parsers found" while desktop version worked fine. I >>Is there in PythonCE any working xml-parser or I have to parse xml by hands? >>_______________________________________________ >>PythonCE mailing list >>PythonCE at python.org >>http://mail.python.org/mailman/listinfo/pythonce >> > > > _______________________________________________ > PythonCE mailing list > PythonCE at python.org > http://mail.python.org/mailman/listinfo/pythonce