From james.wondrasek at gmail.com Sun Oct 7 07:15:33 2007 From: james.wondrasek at gmail.com (James Wondrasek) Date: Sun, 7 Oct 2007 15:15:33 +1000 Subject: [PythonCE] PythonCE 2.5 on a NEC MobilePro 900c? Message-ID: <812d85430710062215l1fdc6edesf9de920ae234134d@mail.gmail.com> Hey Everybody, Are there any major hurdles in building a version of PythonCE 2.5 (and associated tools) that will run on my MobilePro (Windows CE 4.2)? By major, I mean more involved than tweaking the build. If so, would anyone have any advice/recommendations on which tools and libraries to use with the available PythonCE 2.3.4 for HPC2000? Thanks for your help. regards, jimmy -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.python.org/pipermail/pythonce/attachments/20071007/320843dd/attachment.htm From pythonce-ml at lestat.st Mon Oct 8 20:30:12 2007 From: pythonce-ml at lestat.st (David Goncalves) Date: Mon, 08 Oct 2007 20:30:12 +0200 Subject: [PythonCE] PythonCE 2.5 on a NEC MobilePro 900c? In-Reply-To: <812d85430710062215l1fdc6edesf9de920ae234134d@mail.gmail.com> References: <812d85430710062215l1fdc6edesf9de920ae234134d@mail.gmail.com> Message-ID: <470A7734.50309@lestat.st> Hi, > Are there any major hurdles in building a version of PythonCE 2.5 (and > associated tools) that will run on my MobilePro (Windows CE 4.2)? By > major, I mean more involved than tweaking the build. > > If so, would anyone have any advice/recommendations on which tools and > libraries to use with the available PythonCE 2.3.4 for HPC2000? I used PythonCE on my PNA (a GPS with WinCE 4.2 core) by changing the aygshell.dll. WinCE core does not provide that DLL, you can just find a working version for your CE version and put it on PythonCE's directory. Hope that helps ;) Regards. From sopuli at gmx.net Mon Oct 8 21:05:05 2007 From: sopuli at gmx.net (Hannu Leinonen) Date: Mon, 08 Oct 2007 22:05:05 +0300 Subject: [PythonCE] Wiki and spam comments Message-ID: <470A7F61.8070208@gmx.net> Hi everyone, I'm concerned about the amount of spam comments on the Wiki. Currently the commenting is worth of nothing, because of the amount of spam. For example, in the wiki frontpage there are about 1542 comments which of 99% is pure spam. The easiest solution for this would be disabling the commenting for unregistered users. Best regards, Hannu From christopher at christec.co.nz Tue Oct 9 01:26:29 2007 From: christopher at christec.co.nz (Christopher Fairbairn) Date: Mon, 08 Oct 2007 19:26:29 -0400 Subject: [PythonCE] PythonCE 2.5 on a NEC MobilePro 900c? Message-ID: <20071008233313.772661E4008@bag.python.org> Hi, >> Are there any major hurdles in building a version of PythonCE 2.5 (and >> associated tools) that will run on my MobilePro (Windows CE 4.2)? By >> major, I mean more involved than tweaking the build. Is there much interest in a build which supports Windows CE devices? I recently released an updated version of PythonCE which has better Windows Mobile support (for smartphones and newer WM6 devices) - http://sourceforge.net/project/showfiles.php?group_id=104228&package_id=247631 At one stage I had developed further patches to PythonCE which meant that the single executable/cab file would run on basically anything running Windows CE 4.2 or above without the need for dummy agyshells etc. In my biased opinion this was a better approach than using a dummy agyshell.dll because it meant the executable could detect it was running in a different environment and tweak the menu layouts etc to give a better fit. The patches have since been lost due to me loosing access to a raw Windows CE powered device to test on. I am looking at ways to drum up development support for PythonCE. How many people are using PythonCE on a Windows CE device? Thanks, Christopher Fairbairn From rdsteph at mac.com Tue Oct 9 04:07:46 2007 From: rdsteph at mac.com (Ron Stephens) Date: Mon, 8 Oct 2007 22:07:46 -0400 Subject: [PythonCE] PythonCE 2.5 on a NEC MobilePro 900c? In-Reply-To: <20071008233313.772661E4008@bag.python.org> References: <20071008233313.772661E4008@bag.python.org> Message-ID: I would like to run Python on my WindowsMobile5 Motorola Q phone but I gave up a yearago when I couldn't get it to load. Maybe I should try the file you offer the link to? Ron On Oct 8, 2007, at 7:26 PM, Christopher Fairbairn wrote: > Hi, > >>> Are there any major hurdles in building a version of PythonCE 2.5 >>> (and >>> associated tools) that will run on my MobilePro (Windows CE 4.2)? By >>> major, I mean more involved than tweaking the build. > > Is there much interest in a build which supports Windows CE devices? > > I recently released an updated version of PythonCE which has better > Windows Mobile > support (for smartphones and newer WM6 devices) - > http://sourceforge.net/project/showfiles.php? > group_id=104228&package_id=247631 > > At one stage I had developed further patches to PythonCE which > meant that the > single executable/cab file would run on basically anything running > Windows CE 4.2 > or above without the need for dummy agyshells etc. In my biased > opinion this was a > better approach than using a dummy agyshell.dll because it meant > the executable > could detect it was running in a different environment and tweak > the menu layouts > etc to give a better fit. > > The patches have since been lost due to me loosing access to a raw > Windows CE > powered device to test on. > > I am looking at ways to drum up development support for PythonCE. > How many people > are using PythonCE on a Windows CE device? > > Thanks, > Christopher Fairbairn > > _______________________________________________ > PythonCE mailing list > PythonCE at python.org > http://mail.python.org/mailman/listinfo/pythonce From christopher at christec.co.nz Tue Oct 9 04:18:28 2007 From: christopher at christec.co.nz (Christopher Fairbairn) Date: Mon, 08 Oct 2007 22:18:28 -0400 Subject: [PythonCE] PythonCE 2.5 on a NEC MobilePro 900c? Message-ID: <20071009021831.735311E4008@bag.python.org> Hi Ron, On Tue Oct 9 14:07 , Ron Stephens sent: >I would like to run Python on my WindowsMobile5 Motorola Q phone but >I gave up a yearago when I couldn't get it to load. > >Maybe I should try the file you offer the link to? You should definatly try out the version I referenced (pythonce-smartphone on the sourceforge downloads page). Hopefully you will get further along with this build. The core essentials defiantly are working. It is still a work in progress though. One thing I just fixed on my local copy for instance is the 'raw_input' implementation, the build I released on sourceforge displays a dialog box which can't be dismissed if you are using a smartphone. I would be keen to hear your feedback. Although I am using it on my Windows Mobile 5.0 Smartphone I do not have one with a qwerty keyboard, so would be keen to hear some feedback on how it behaves. Thanks, Christopher Fairbairn From alexandre.delattre at enst-bretagne.fr Tue Oct 9 15:11:17 2007 From: alexandre.delattre at enst-bretagne.fr (Alexandre Delattre) Date: Tue, 09 Oct 2007 15:11:17 +0200 Subject: [PythonCE] Wiki and spam comments Message-ID: <470B7DF5.2040007@enst-bretagne.fr> Hi, I have tweaked the Wiki to input a captcha when registering new user a month ago and haven't seen spam attacks since. When I'll have some time, I will clean the spam comments directly with mysql and try disabling comment for unregistered users as you suggest. Regards, Alexandre From rdsteph at mac.com Tue Oct 9 16:54:54 2007 From: rdsteph at mac.com (Ron Stephens) Date: Tue, 09 Oct 2007 07:54:54 -0700 Subject: [PythonCE] PythonCE 2.5 on a NEC MobilePro 900c? In-Reply-To: <200710090218.l992ITt4006122@mac.com> References: <200710090218.l992ITt4006122@mac.com> Message-ID: <73972379-0115-1000-AC0C-2E91A68A3CCF-Webmail-10007@mac.com> Christopher, I'll try it out and get back to you ;p-)) Ron On Monday, October 08, 2007, at 07:18PM, "Christopher Fairbairn" wrote: >Hi Ron, > >On Tue Oct 9 14:07 , Ron Stephens sent: >>I would like to run Python on my WindowsMobile5 Motorola Q phone but >>I gave up a yearago when I couldn't get it to load. >> >>Maybe I should try the file you offer the link to? > >You should definatly try out the version I referenced (pythonce-smartphone on the >sourceforge downloads page). > >Hopefully you will get further along with this build. The core essentials defiantly >are working. It is still a work in progress though. > >One thing I just fixed on my local copy for instance is the 'raw_input' >implementation, the build I released on sourceforge displays a dialog box which >can't be dismissed if you are using a smartphone. > >I would be keen to hear your feedback. Although I am using it on my Windows Mobile >5.0 Smartphone I do not have one with a qwerty keyboard, so would be keen to hear >some feedback on how it behaves. > >Thanks, >Christopher Fairbairn > > From dblanchard at gmail.com Tue Oct 9 18:15:25 2007 From: dblanchard at gmail.com (Duane Blanchard) Date: Tue, 9 Oct 2007 09:15:25 -0700 Subject: [PythonCE] PythonCE Digest, Vol 51, Issue 2 In-Reply-To: References: Message-ID: Christopher, I'm on a Sprint PPC-6700 (HTC Apache) and would like to start running pyce again. I'm not much of a coder but this gives me more opportunity to dink around. I'll start with the build for PPC and see where I get. Thanks to all the contributers that put programming literally within reach. Duane On 10/9/07, 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: PythonCE 2.5 on a NEC MobilePro 900c? (David Goncalves) > 2. Wiki and spam comments (Hannu Leinonen) > 3. Re: PythonCE 2.5 on a NEC MobilePro 900c? (Christopher Fairbairn) > 4. Re: PythonCE 2.5 on a NEC MobilePro 900c? (Ron Stephens) > 5. Re: PythonCE 2.5 on a NEC MobilePro 900c? (Christopher Fairbairn) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Mon, 08 Oct 2007 20:30:12 +0200 > From: David Goncalves > Subject: Re: [PythonCE] PythonCE 2.5 on a NEC MobilePro 900c? > To: James Wondrasek > Cc: pythonce at python.org > Message-ID: <470A7734.50309 at lestat.st> > Content-Type: text/plain; charset=ISO-8859-1; format=flowed > > Hi, > > > Are there any major hurdles in building a version of PythonCE 2.5 (and > > associated tools) that will run on my MobilePro (Windows CE 4.2)? By > > major, I mean more involved than tweaking the build. > > > > If so, would anyone have any advice/recommendations on which tools and > > libraries to use with the available PythonCE 2.3.4 for HPC2000? > > > I used PythonCE on my PNA (a GPS with WinCE 4.2 core) by changing the > aygshell.dll. > > WinCE core does not provide that DLL, you can just find a working > version for your CE version and put it on PythonCE's directory. > > > Hope that helps ;) > > Regards. > > > ------------------------------ > > Message: 2 > Date: Mon, 08 Oct 2007 22:05:05 +0300 > From: Hannu Leinonen > Subject: [PythonCE] Wiki and spam comments > To: pythonce at python.org > Message-ID: <470A7F61.8070208 at gmx.net> > Content-Type: text/plain; charset=ISO-8859-1 > > Hi everyone, > > I'm concerned about the amount of spam comments on the Wiki. Currently > the commenting is worth of nothing, because of the amount of spam. For > example, in the wiki frontpage there are about 1542 comments which of > 99% is pure spam. The easiest solution for this would be disabling the > commenting for unregistered users. > > > Best regards, > Hannu > > > ------------------------------ > > Message: 3 > Date: Mon, 08 Oct 2007 19:26:29 -0400 > From: Christopher Fairbairn > Subject: Re: [PythonCE] PythonCE 2.5 on a NEC MobilePro 900c? > To: pythonce at python.org > Message-ID: <20071008233313.772661E4008 at bag.python.org> > Content-Type: text/plain; charset="us-ascii" > > Hi, > > >> Are there any major hurdles in building a version of PythonCE 2.5 (and > >> associated tools) that will run on my MobilePro (Windows CE 4.2)? By > >> major, I mean more involved than tweaking the build. > > Is there much interest in a build which supports Windows CE devices? > > I recently released an updated version of PythonCE which has better Windows > Mobile > support (for smartphones and newer WM6 devices) - > http://sourceforge.net/project/showfiles.php?group_id=104228&package_id=247631 > > At one stage I had developed further patches to PythonCE which meant that > the > single executable/cab file would run on basically anything running Windows > CE 4.2 > or above without the need for dummy agyshells etc. In my biased opinion this > was a > better approach than using a dummy agyshell.dll because it meant the > executable > could detect it was running in a different environment and tweak the menu > layouts > etc to give a better fit. > > The patches have since been lost due to me loosing access to a raw Windows > CE > powered device to test on. > > I am looking at ways to drum up development support for PythonCE. How many > people > are using PythonCE on a Windows CE device? > > Thanks, > Christopher Fairbairn > > > > ------------------------------ > > Message: 4 > Date: Mon, 8 Oct 2007 22:07:46 -0400 > From: Ron Stephens > Subject: Re: [PythonCE] PythonCE 2.5 on a NEC MobilePro 900c? > To: christopher at christec.co.nz > Cc: pythonce at python.org > Message-ID: > Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed > > I would like to run Python on my WindowsMobile5 Motorola Q phone but > I gave up a yearago when I couldn't get it to load. > > > Maybe I should try the file you offer the link to? > > Ron > > On Oct 8, 2007, at 7:26 PM, Christopher Fairbairn wrote: > > > Hi, > > > >>> Are there any major hurdles in building a version of PythonCE 2.5 > >>> (and > >>> associated tools) that will run on my MobilePro (Windows CE 4.2)? By > >>> major, I mean more involved than tweaking the build. > > > > Is there much interest in a build which supports Windows CE devices? > > > > I recently released an updated version of PythonCE which has better > > Windows Mobile > > support (for smartphones and newer WM6 devices) - > > http://sourceforge.net/project/showfiles.php? > > group_id=104228&package_id=247631 > > > > At one stage I had developed further patches to PythonCE which > > meant that the > > single executable/cab file would run on basically anything running > > Windows CE 4.2 > > or above without the need for dummy agyshells etc. In my biased > > opinion this was a > > better approach than using a dummy agyshell.dll because it meant > > the executable > > could detect it was running in a different environment and tweak > > the menu layouts > > etc to give a better fit. > > > > The patches have since been lost due to me loosing access to a raw > > Windows CE > > powered device to test on. > > > > I am looking at ways to drum up development support for PythonCE. > > How many people > > are using PythonCE on a Windows CE device? > > > > Thanks, > > Christopher Fairbairn > > > > _______________________________________________ > > PythonCE mailing list > > PythonCE at python.org > > http://mail.python.org/mailman/listinfo/pythonce > > > > ------------------------------ > > Message: 5 > Date: Mon, 08 Oct 2007 22:18:28 -0400 > From: Christopher Fairbairn > Subject: Re: [PythonCE] PythonCE 2.5 on a NEC MobilePro 900c? > To: christopher at christec.co.nz, Ron Stephens > Cc: pythonce at python.org > Message-ID: <20071009021831.735311E4008 at bag.python.org> > Content-Type: text/plain; charset="us-ascii" > > Hi Ron, > > On Tue Oct 9 14:07 , Ron Stephens sent: > >I would like to run Python on my WindowsMobile5 Motorola Q phone but > >I gave up a yearago when I couldn't get it to load. > > > >Maybe I should try the file you offer the link to? > > You should definatly try out the version I referenced (pythonce-smartphone > on the > sourceforge downloads page). > > Hopefully you will get further along with this build. The core essentials > defiantly > are working. It is still a work in progress though. > > One thing I just fixed on my local copy for instance is the 'raw_input' > implementation, the build I released on sourceforge displays a dialog box > which > can't be dismissed if you are using a smartphone. > > I would be keen to hear your feedback. Although I am using it on my Windows > Mobile > 5.0 Smartphone I do not have one with a qwerty keyboard, so would be keen to > hear > some feedback on how it behaves. > > Thanks, > Christopher Fairbairn > > > ------------------------------ > > _______________________________________________ > PythonCE mailing list > PythonCE at python.org > http://mail.python.org/mailman/listinfo/pythonce > > > End of PythonCE Digest, Vol 51, Issue 2 > *************************************** > From christopher at christec.co.nz Mon Oct 15 04:52:15 2007 From: christopher at christec.co.nz (Christopher Fairbairn) Date: Sun, 14 Oct 2007 22:52:15 -0400 Subject: [PythonCE] Issues with enter key within PythonCE main window Message-ID: <20071015025244.A0BDA1E402C@bag.python.org> Hi, I have recently been given a bug report with the latest build of PythonCE. The bug report has now also been added to the SourceForge website (http://sourceforge.net/tracker/index.php? func=detail&aid=1813123&group_id=104228&atid=637340) The issue is that on a Samsung SGH-i600 (Windows Mobile 6 Smartphone) device, pressing the enter key doesn't cause PythonCE to process the entered line of input. I am going to attempt to diagnose this problem later this week and give the submitter a small test application to attempt to verify what is going on. I remember from reading the archives of this mailing list that there have been somewhat similiar issues in the past. From memory related to PythonCE not processing multi-line commands properly. Does anyone have any suggestions on which areas of the code I should be looking into for these kinds of issues? Thanks, Christopher Fairbairn From coder_infidel at hotmail.com Mon Oct 15 15:22:00 2007 From: coder_infidel at hotmail.com (Luke Dunstan) Date: Mon, 15 Oct 2007 21:22:00 +0800 Subject: [PythonCE] Issues with enter key within PythonCE main window In-Reply-To: <20071015025244.A0BDA1E402C@bag.python.org> Message-ID: >From: Christopher Fairbairn >Reply-To: christopher at christec.co.nz >To: pythonce at python.org >Subject: [PythonCE] Issues with enter key within PythonCE main window >Date: Sun, 14 Oct 2007 22:52:15 -0400 > >Hi, > >I have recently been given a bug report with the latest build of PythonCE. > >The bug report has now also been added to the SourceForge website >(http://sourceforge.net/tracker/index.php? >func=detail&aid=1813123&group_id=104228&atid=637340) > >The issue is that on a Samsung SGH-i600 (Windows Mobile 6 Smartphone) >device, >pressing the enter key doesn't cause PythonCE to process the entered line >of input. > >I am going to attempt to diagnose this problem later this week and give the >submitter a small test application to attempt to verify what is going on. > >I remember from reading the archives of this mailing list that there have >been >somewhat similiar issues in the past. From memory related to PythonCE not >processing multi-line commands properly. > >Does anyone have any suggestions on which areas of the code I should be >looking >into for these kinds of issues? > >Thanks, >Christopher Fairbairn My guess would be in PCCESHELL_Get_Input_Text() in PC/WinCE/pythonce.c Luke From jorgen.maillist at gmail.com Mon Oct 15 19:37:56 2007 From: jorgen.maillist at gmail.com (Jorgen Bodde) Date: Mon, 15 Oct 2007 19:37:56 +0200 Subject: [PythonCE] PythonCE on Smartphone (WM6) Message-ID: <11e49df10710151037x1a699ad6l4ac23d5dcf660ae8@mail.gmail.com> Hi All, I have PythonCE 2.5 and TKinter running on my smartphone. I wrote a minimal app and I see a dialog with a button, but since it is a smartphone which does only have number keys and a jog dial to control the input, the window stays unresponsive to input. I cannot even set the focus to a control. Is there anything I need to do to get it to redirect the number keys and make it focus a control? Regards, - Jorgen From christopher at christec.co.nz Mon Oct 15 22:25:51 2007 From: christopher at christec.co.nz (Christopher Fairbairn) Date: Mon, 15 Oct 2007 16:25:51 -0400 Subject: [PythonCE] PythonCE on Smartphone (WM6) Message-ID: <20071015202601.A2DF51E402D@bag.python.org> Hi Jorgen, On Tue Oct 16 5:37 , "Jorgen Bodde" sent: >I have PythonCE 2.5 and TKinter running on my smartphone. I wrote a >minimal app and I see a dialog with a button, but since it is a >smartphone which does only have number keys and a jog dial to control >the input, the window stays unresponsive to input. I cannot even set >the focus to a control. In general smartphone programming is slightly different from programming for a standard Pocket PC device. As you mentioned the first issue you typically come across is the lack of ability to select a control. The solution to this is to programatically select the first control on your window when initialising it. The OS has support within the default window procedure to then allow the user to "tab" between controls when the up or down arrow keys are pressed. A potentially larger problem with TKinter (a toolkit that I have no experience with) are issues around the standard controls such as combo boxes and buttons. On a Windows Mobile smartphone standard controls such as a combo box are exactly the same as you would see on a Pocket PC device. This leads to usability problems, for instance with a combo box there is no way to drop down it's list without being able to click on the little arrow button to the side of the control, which you obviously can't do on most smartphones. For this reason Microsoft suggests using a series of alternative controls. For example what you may think is a combo box within a smartphone application is probably a 1 line high listbox coupled with an up/down spinbox auto-buddy docked to its right. Application frameworks such as the .NET Compact Framework generally abstract this different within their control classes, so an application programmer creates a "combobox" and the framework determines which set of native controls need creation to implement this. I assume that TKinter probably hasn't been implemented with this kind of thing in mind. Hope this helps, Christopher Fairbairn PS: Just thinking about it now I bieleve TKinter is a framework which essentially draws all it's own custom controls. If this is the case the problem is probably more involved, since you won't get the native OS support for selecting controls on a smartphone etc. From Patrick.Lammens at punchgraphix.com Tue Oct 16 15:04:03 2007 From: Patrick.Lammens at punchgraphix.com (Patrick Lammens) Date: Tue, 16 Oct 2007 15:04:03 +0200 Subject: [PythonCE] Python CE port for Windows CE.Net 5.0 x86 processor Message-ID: <52A4AC9F6F316742A676D09293417F905F974E@PGX118.punchgraphix.com> Dear Gentlemen, Starting from your port PythonCE-2.5-20061219-source.zip, I've been able to port Python 2.5 to Windows CE for use on Windows CE.Net 5.0 platform, with an x86 processor. I compiled and linked with Visual Studio 2005. I would like to upload my port to the pythonce Sourceforge page. Is this possible ? Best regards, Patrick Lammens Software Engineer Punch Graphix Prepress Belgium nv Oostkaai 50 - 8900 Ieper - Belgium T: +32 (0)57 22 13 50 - F: +32 (0)57 46 79 02 - P: +32 (0)57 22 13 74 patrick.lammens at punchgraphix.com - www.punchgraphix.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.python.org/pipermail/pythonce/attachments/20071016/c6c062eb/attachment.htm From jorgen.maillist at gmail.com Tue Oct 16 20:29:39 2007 From: jorgen.maillist at gmail.com (Jorgen Bodde) Date: Tue, 16 Oct 2007 20:29:39 +0200 Subject: [PythonCE] PythonCE on Smartphone (WM6) In-Reply-To: <20071015202601.A2DF51E402D@bag.python.org> References: <20071015202601.A2DF51E402D@bag.python.org> Message-ID: <11e49df10710161129t5bddefbelb415deb9b2fa208f@mail.gmail.com> Hi Christopher, Thank you for your answer, I guess I need to find a port of wxWidgets / wxPython or some kind that targets the mobile platform better, or instead use the Embedded Visual Studio with .NET. I love Python so I hope there is a better alternative for the smartphone. Regards, - Jorgen On 10/15/07, Christopher Fairbairn wrote: > Hi Jorgen, > > On Tue Oct 16 5:37 , "Jorgen Bodde" sent: > >I have PythonCE 2.5 and TKinter running on my smartphone. I wrote a > >minimal app and I see a dialog with a button, but since it is a > >smartphone which does only have number keys and a jog dial to control > >the input, the window stays unresponsive to input. I cannot even set > >the focus to a control. > > In general smartphone programming is slightly different from programming for a > standard Pocket PC device. > > As you mentioned the first issue you typically come across is the lack of ability > to select a control. The solution to this is to programatically select the first > control on your window when initialising it. The OS has support within the default > window procedure to then allow the user to "tab" between controls when the up or > down arrow keys are pressed. > > A potentially larger problem with TKinter (a toolkit that I have no experience > with) are issues around the standard controls such as combo boxes and buttons. > > On a Windows Mobile smartphone standard controls such as a combo box are exactly > the same as you would see on a Pocket PC device. This leads to usability problems, > for instance with a combo box there is no way to drop down it's list without being > able to click on the little arrow button to the side of the control, which you > obviously can't do on most smartphones. > > For this reason Microsoft suggests using a series of alternative controls. For > example what you may think is a combo box within a smartphone application is > probably a 1 line high listbox coupled with an up/down spinbox auto-buddy docked to > its right. Application frameworks such as the .NET Compact Framework generally > abstract this different within their control classes, so an application programmer > creates a "combobox" and the framework determines which set of native controls need > creation to implement this. > > I assume that TKinter probably hasn't been implemented with this kind of thing in > mind. > > Hope this helps, > Christopher Fairbairn > > PS: Just thinking about it now I bieleve TKinter is a framework which essentially > draws all it's own custom controls. If this is the case the problem is probably > more involved, since you won't get the native OS support for selecting controls on > a smartphone etc. > > _______________________________________________ > PythonCE mailing list > PythonCE at python.org > http://mail.python.org/mailman/listinfo/pythonce > From christopher at christec.co.nz Tue Oct 16 22:39:03 2007 From: christopher at christec.co.nz (Christopher Fairbairn) Date: Tue, 16 Oct 2007 16:39:03 -0400 Subject: [PythonCE] Python CE port for Windows CE.Net 5.0 x86 processor Message-ID: <20071016203909.2EFC61E400E@bag.python.org> Hi Patrick, On Wed Oct 17 1:04 , "Patrick Lammens" sent: >Starting from your port PythonCE-2.5-20061219-source.zip, >I've been able to port Python 2.5 to Windows CE >for use on Windows CE.Net 5.0 platform, with an >x86 processor. That is very exciting news and great timing! I have been working on an updated PythonCE release (you can see the initial stages of this within the downloads page as the new pythonce-smartphone release). My initial efforts have been making a release which works better on newer Windows Mobile devices (as well as supporting optionally building with VS2005). I would be interested in merging your patches with my updated release and comparing notes on how we've both independantly modified the build system to use VS2005 etc. In fact I was actually going to email the pythonce at python.org mailing list today to see how many people were using PythonCE within the "raw" Windows CE environment. I have some local changes designed to improve the support on Windows CE devices (i've removed the hard dependency on aygshell for example) but wanted to guage how many people were using such a release before going too far. How many people on this mailing list are using PythonCE within a Windows CE environment which is not Windows Mobile Pocket PC or Smartphone based? Are you able to email your patches to me? I would be keen in rolling them into my next release (I am keen to get one source tree with all active development happening within it). If you could send me a CAB file for the X86 build I could also probably get it uploaded to the website in the mean time. Hope this helps, Christopher Fairbairn From christopher at christec.co.nz Wed Oct 17 08:22:56 2007 From: christopher at christec.co.nz (Christopher Fairbairn) Date: Wed, 17 Oct 2007 19:22:56 +1300 Subject: [PythonCE] PythonCE on Smartphone (WM6) In-Reply-To: <11e49df10710161129t5bddefbelb415deb9b2fa208f@mail.gmail.com> References: <20071015202601.A2DF51E402D@bag.python.org> <11e49df10710161129t5bddefbelb415deb9b2fa208f@mail.gmail.com> Message-ID: <97FB7F9C-35D1-47C3-BDC9-1E9AE1770EFE@christec.co.nz> Hi Jorgen, On 17/10/2007, at 7:29 AM, Jorgen Bodde wrote: > Thank you for your answer, I guess I need to find a port of wxWidgets > / wxPython or some kind that targets the mobile platform better, or > instead use the Embedded Visual Studio with .NET. I love Python so I > hope there is a better alternative for the smartphone. I personally have been using vensterce (http://sourceforge.net/ projects/vensterce) as my GUI toolkit. It is a very thin wrapper over top of the Win32 GUI APIs provided by the operating system. This coupled with some of the API documentation that explains how to create spinbox style lists and expandable edit controls (http://msdn2.microsoft.com/en-us/library/ms832344.aspx) works reasonably well for me. However even this vensterce (out of the box) doesn't abstract these kinds of UI differences. It is something I am contemplating contributing to the vensterce project at some stage... Hope this helps, Christopher Fairbairn From oneeyedelf1 at gmail.com Wed Oct 17 10:23:09 2007 From: oneeyedelf1 at gmail.com (knic knic) Date: Wed, 17 Oct 2007 01:23:09 -0700 Subject: [PythonCE] How do I run programs when screen is off Message-ID: <200710170123.09544.oneeyedelf1@gmail.com> I am running the PythonCE release pythonce-2.5-20071004 on a WM 6 phone. I was wondering how do I enable python programs to run and not sleep when the screen is turned off? Thanks, -- Knic From christopher at christec.co.nz Thu Oct 18 09:17:56 2007 From: christopher at christec.co.nz (Christopher Fairbairn) Date: Thu, 18 Oct 2007 20:17:56 +1300 Subject: [PythonCE] How do I run programs when screen is off In-Reply-To: <200710170123.09544.oneeyedelf1@gmail.com> References: <200710170123.09544.oneeyedelf1@gmail.com> Message-ID: <069DE736-40EB-4C5F-A8C0-0D7093C251FE@christec.co.nz> Hi Knic, On 17/10/2007, at 9:23 PM, knic knic wrote: > I am running the PythonCE release pythonce-2.5-20071004 on a WM 6 > phone. I was > wondering how do I enable python programs to run and not sleep when > the > screen is turned off? Are you using a Windows Mobile 6 Standard (i.e. non touchscreen), or Windows MObile 6 Professional (i.e. touchscreen enabled) device? I assume by screen turning off you are actually talking about the entire device turning off and the power button needing to be pressed to turn it back on. There is actually an "unintended" state a device could get into where the screen is off, but the CPU is still running, but since you say your application stops running I am assuming the entire device is powering down. If using a Windows Mobile 6 Professional device the answer is to use the ctypes module to periodically call an operating system API called SystemIdleTimerReset. This API is documented within MSDN at http:// msdn2.microsoft.com/en-us/library/ms941840.aspx, basically each time you call this function it resets a timer. If the timer is not reset and expires the device suspends. So by calling the function periodically within a main loop of your program etc the device shouldn't turn off. I don't have a code example for doing this on hand, but could probably sort something out if you are interested in this technique. Hope this helps, Christopher Fairbairn From alexandre.delattre at enst-bretagne.fr Thu Oct 18 14:56:23 2007 From: alexandre.delattre at enst-bretagne.fr (Alexandre Delattre) Date: Thu, 18 Oct 2007 14:56:23 +0200 Subject: [PythonCE] PythonCE on Smartphone (WM6) References: 11e49df10710161129t5bddefbelb415deb9b2fa208f@mail.gmail.com Message-ID: <471757F7.3060802@enst-bretagne.fr> Hi, I' am about to make a public release of PocketPyGui, an open source toolkit that provides an abstraction level over the raw Win32 GUI api. I tried to design its API for python developers with no prior knowledge of win32 programming. For instance, one of its main benefit over its ancestor, vensterce, is the transparent event handling that allow direct binding from signals (button pressed, list selection changed, ...) to callbacks (any python function that takes a single argument). Doing the same with VensterCE, would need to understand well about the C way to do message dispatching, handling, and would in some cases need to manually maintain a list of ID for each controls which is quite static and unpythonic. The API also covers many controls : Button, Edit, Label, List (ListBox), Combo, Table (ListCtrl in report mode), Tree (TreeView), NoteBook, Progress (TrackBar), HTML, Date & Time control, Dialog, Font, ... I tried to give each control a complete and intuitive interface, making use of property and special methods where appropriate. Some controls (Canvas & ScrolledFrame) are still in WIP but will be included as a demo/tutorial. As a bonus, ppygui implements dynamic resolution detection and scaling (meaning your app will appear the same on a hires or classic resolution device without thinking about it), and automatic tab/jog-dial traversal (but it can be explicitely deactivated for a Window). All that to say that, even if I don't own a Smartphone, I'm definitely willing to make this kind of GUI abstraction for the next releases. Will setup the smartphone emulator provided by MS for my tests ... Best regards, Alexandre From jorgen.maillist at gmail.com Thu Oct 18 15:40:32 2007 From: jorgen.maillist at gmail.com (Jorgen Bodde) Date: Thu, 18 Oct 2007 15:40:32 +0200 Subject: [PythonCE] PythonCE on Smartphone (WM6) In-Reply-To: <471757F7.3060802@enst-bretagne.fr> References: <471757F7.3060802@enst-bretagne.fr> Message-ID: <11e49df10710180640t3a6cd75aj4197bcd4eab416fa@mail.gmail.com> Hi Alexandre, It sounds very interesting. If you have a download available, please send me (or the mailinglist) a link! I'm still a newbie on the PythonCE platform, but I do know Python well for 2 years now so I hope I can use it to develop small apps rapidly for my mobile phone. Regards, - Jorgen On 10/18/07, Alexandre Delattre wrote: > Hi, > > I' am about to make a public release of PocketPyGui, an open source > toolkit that provides an abstraction level over the raw Win32 GUI api. > I tried to design its API for python developers with no prior knowledge > of win32 programming. > > For instance, one of its main benefit over its ancestor, vensterce, is > the transparent event handling that allow direct binding from signals > (button pressed, list selection changed, ...) to callbacks (any python > function that takes a single argument). Doing the same with VensterCE, > would need to understand well about the C way to do message dispatching, > handling, and would in some cases need to manually maintain a list of ID > for each controls which is quite static and unpythonic. > > The API also covers many controls : Button, Edit, Label, List (ListBox), > Combo, Table (ListCtrl in report mode), Tree (TreeView), NoteBook, > Progress (TrackBar), HTML, Date & Time control, Dialog, Font, ... I > tried to give each control a complete and intuitive interface, making > use of property and special methods where appropriate. Some controls > (Canvas & ScrolledFrame) are still in WIP but will be included as a > demo/tutorial. > > As a bonus, ppygui implements dynamic resolution detection and scaling > (meaning your app will appear the same on a hires or classic resolution > device without thinking about it), and automatic tab/jog-dial traversal > (but it can be explicitely deactivated for a Window). > > All that to say that, even if I don't own a Smartphone, I'm definitely > willing to make this kind of GUI abstraction for the next releases. Will > setup the smartphone emulator provided by MS for my tests ... > > Best regards, > Alexandre > > > > _______________________________________________ > PythonCE mailing list > PythonCE at python.org > http://mail.python.org/mailman/listinfo/pythonce > From frederic.mantegazza at gbiloba.org Sat Oct 20 16:56:43 2007 From: frederic.mantegazza at gbiloba.org (=?iso-8859-15?q?Fr=E9d=E9ric_Mantegazza?=) Date: Sat, 20 Oct 2007 16:56:43 +0200 Subject: [PythonCE] General questions Message-ID: <200710201656.43725.frederic.mantegazza@gbiloba.org> Hello, I'm a python developper (I use it for in my work), but only under Linux. I recently started to develop on PalmOs, but it lacks a python port! So, I'm now looking at Pocket PC, to use PythonCE. 1) My first question is: how do you develop? Do you write python scripts on your PC, and then download them to the PocketPC? Is it also possible to edit the script on the PcoketPC? Is it possible to download the scripts from Linux? 2) What buses are available on Pocket PC, and useable with PythonCE? My goal is to use it as a remote control for a panoramic head; the easiest way is to use serial port, for which I saw a script on this list. But there are maybe other buses I could use... 3) Which PocketPC do I need to run PythonCE? It is maybe more a WindowsCE version issue, so which version? Is serial port availabe on all Pocket PC, or only (like for Palm) on old models? 4) Which Pocket PC do you recommend, as it will be only used under PythonCE, to drive the pano head? I would prefer by an used one, without too many features I won't use... Thanks for you advices. PS: feel free to redirect me on other ML/forums, or on good web sites where I can find these informations... -- Fr?d?ric http://www.gbiloba.org From christopher at christec.co.nz Sat Oct 20 22:27:38 2007 From: christopher at christec.co.nz (Christopher Fairbairn) Date: Sun, 21 Oct 2007 09:27:38 +1300 Subject: [PythonCE] General questions In-Reply-To: <200710201656.43725.frederic.mantegazza@gbiloba.org> References: <200710201656.43725.frederic.mantegazza@gbiloba.org> Message-ID: Hi Fr?d?ric, On 21/10/2007, at 3:56 AM, Fr?d?ric Mantegazza wrote: > 1) My first question is: how do you develop? Do you write python > scripts on > your PC, and then download them to the PocketPC? Is it also > possible to > edit the script on the PcoketPC? Is it possible to download the > scripts > from Linux? I typically develop on my desktop PC and transfer the scripts for testing to the PDA. Many of my scripts are usable on both platforms so I find it easier to test and debug on my desktop before transferring to the PDA. Sometimes I use the remote-console project available from http:// ctypes-stuff.googlecode.com/svn/trunk/wince/remote-console/ to avoid the manual download step. Basically this allows you to run a script on your desktop (console.py) and it will give you the main PythonCE interpreter interface on your desktop PCs terminal window, executing the code directly on your PDA etc. It's useful for debugging small snippets of code. A range of tools that allow you to create programs directly on your PDA are listed on the PythonCE wiki at http:// pythonce.sourceforge.net/Wikka/Tools > 3) Which PocketPC do I need to run PythonCE? It is maybe more a > WindowsCE > version issue, so which version? The existing versions available for download from the Sourceforge downloads page (especially the python-smartphone release) should work on any Pocket PC 2003 or above device (i.e. 2003, 2003 Second Edition, Windows Mobile 5.0 or Windows Mobile 6 based). It should also work on Smartphone devices running a similar range of operating systems (in case you didn't know, Microsoft has two slightly different variants of it's PDA OS, one for Pocket PC PDAs, and another for Smartphone devices which lack a touch-screen). The existing releases should also run on devices which use the raw Windows CE operating system without the Pocket PC extras and modifications. It should run on any ARM based Windows CE device running Windows CE .NET 4.20 or above. You may also be able to find versions capable of running on older devices, but these will generally be older releases of Python. A release with support for X86 based Windows CE devices among other features is coming soon. > Is serial port availabe on all Pocket PC, > or only (like for Palm) on old models? The availability of a serial port is highly specific on the make/ model of Pocket PC device you purchase. There is no standard which specifies a serial port must be present, unlike some of the other features of Pocket PC devices which are requirements for OEMs to implement in order to call their device a Pocket PC. From my experience it is becoming harder to find devices with physical RS232 serial ports. Bluetooth seems to be much more universally available these days if using a bluetooth dongle or adapter for your display unit is an option. Hope this helps, Christopher Fairbairn From frederic.mantegazza at gbiloba.org Sun Oct 21 09:07:59 2007 From: frederic.mantegazza at gbiloba.org (=?iso-8859-15?q?Fr=E9d=E9ric_Mantegazza?=) Date: Sun, 21 Oct 2007 09:07:59 +0200 Subject: [PythonCE] General questions In-Reply-To: References: <200710201656.43725.frederic.mantegazza@gbiloba.org> Message-ID: <200710210908.00255.frederic.mantegazza@gbiloba.org> On samedi 20 octobre 2007, Christopher Fairbairn wrote: > I typically develop on my desktop PC and transfer the scripts for > testing to the PDA. Many of my scripts are usable on both platforms > so I find it easier to test and debug on my desktop before > transferring to the PDA. > > Sometimes I use the remote-console project available from http:// > ctypes-stuff.googlecode.com/svn/trunk/wince/remote-console/ to avoid > the manual download step. Basically this allows you to run a script > on your desktop (console.py) and it will give you the main PythonCE > interpreter interface on your desktop PCs terminal window, executing > the code directly on your PDA etc. It's useful for debugging small > snippets of code. > > A range of tools that allow you to create programs directly on your > PDA are listed on the PythonCE wiki at http:// > pythonce.sourceforge.net/Wikka/Tools I'll have a look at the wiki (I didn't it see before). > The existing versions available for download from the Sourceforge > downloads page (especially the python-smartphone release) should work > on any Pocket PC 2003 or above device (i.e. 2003, 2003 Second > Edition, Windows Mobile 5.0 or Windows Mobile 6 based). It should > also work on Smartphone devices running a similar range of operating > systems (in case you didn't know, Microsoft has two slightly > different variants of it's PDA OS, one for Pocket PC PDAs, and > another for Smartphone devices which lack a touch-screen). I'm only interested in simple PDE... > From my experience it is becoming harder to find devices with > physical RS232 serial ports. Bluetooth seems to be much more > universally available these days if using a bluetooth dongle or > adapter for your display unit is an option. I was afraid by this answer... The problem with bluetooth and other wireless solutions is they need more power, reducing time between charging. What about USB master? I read that ACER n30 has such bus. Are there other PDA having one? Is it possible to access it from PythonCE? > Hope this helps, Yes, thank you very much :o) -- Fr?d?ric http://www.gbiloba.org From alexandre.delattre at enst-bretagne.fr Sun Oct 21 16:19:17 2007 From: alexandre.delattre at enst-bretagne.fr (alexandre.delattre at enst-bretagne.fr) Date: Sun, 21 Oct 2007 16:19:17 +0200 Subject: [PythonCE] General questions Message-ID: <20071021161917.e6o25lqs08kwsss0@webmail.enst-bretagne.fr> Hi, by USB Master, I guess you mean USB Host, some Acer models like my n321 have this feature so you can plug an usb stick or hard disk to access data. As far as I know, communications with PythonCE can be made : - by network, using the standard socket module (useful for wifi) - by serial port, using the port of pyserial, ceserial (http://www.problemboard.com/dl/ceserial.zip), this works for real serial port and bluetooth serial port profile. If you want to stick with USB, I think you should try to create a virtual serial port for usb with the driver given at http://www.ftdichip.com/Drivers/VCP.htm (don't know if it works for all devices) and use ceserial. Or maybe there's some drivers to setup ip over usb, then you can use the regular socket module. Regards, Alexandre From frederic.mantegazza at gbiloba.org Sun Oct 21 16:55:18 2007 From: frederic.mantegazza at gbiloba.org (=?iso-8859-15?q?Fr=E9d=E9ric_Mantegazza?=) Date: Sun, 21 Oct 2007 16:55:18 +0200 Subject: [PythonCE] General questions In-Reply-To: <20071021161917.e6o25lqs08kwsss0@webmail.enst-bretagne.fr> References: <20071021161917.e6o25lqs08kwsss0@webmail.enst-bretagne.fr> Message-ID: <200710211655.18784.frederic.mantegazza@gbiloba.org> On dimanche 21 octobre 2007, alexandre.delattre at enst-bretagne.fr wrote: > by USB Master, I guess you mean USB Host Yes. > some Acer models like my n321 have this feature so you can plug an usb > stick or hard disk to access data. > > As far as I know, communications with PythonCE can be made : > > - by network, using the standard socket module (useful for wifi) > - by serial port, using the port of pyserial, ceserial > (http://www.problemboard.com/dl/ceserial.zip), this works for real > serial port and bluetooth serial port profile. Ah, I didn't know that Bluetooth was just like real serial ports... Good point. Except that it requires more current, and needs a Bluetooth module on the other side, this can be easy to use, and more common than serial or USB host ports... > If you want to stick with USB, I think you should try to create a > virtual serial port for usb with the driver given at > http://www.ftdichip.com/Drivers/VCP.htm (don't know if it works for > all devices) and use ceserial. Or maybe there's some drivers to setup > ip over usb, then you can use the regular socket module. Yes, my idea was to use a FTDI chip. But I'm afraid I don't have the knowledge to develop a driver undre WindowsCE... Merci :o) -- Fr?d?ric http://www.gbiloba.org From srusek at gmail.com Mon Oct 22 01:46:02 2007 From: srusek at gmail.com (Stefan Rusek) Date: Sun, 21 Oct 2007 19:46:02 -0400 Subject: [PythonCE] Embedded PythonCE Message-ID: Hey guys, Has anyone experimented with embedding PythonCE in C code and run it one WM? -- Stefan -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.python.org/pipermail/pythonce/attachments/20071021/3826200c/attachment.htm From christopher at christec.co.nz Mon Oct 22 07:45:45 2007 From: christopher at christec.co.nz (Christopher Fairbairn) Date: Mon, 22 Oct 2007 18:45:45 +1300 Subject: [PythonCE] Embedded PythonCE In-Reply-To: References: Message-ID: Hi, On 22/10/2007, at 12:46 PM, Stefan Rusek wrote: > Has anyone experimented with embedding PythonCE in C code and run > it one WM? I haven't tried but don't imagine you would find too many difficulties doing this. The main python25.exe within the PythonCE releases is doing exactly that. Python25.exe is a thin GUI wrapper over top of the core python interpreter which lives within python25.dll. Python25.exe is using the standard Python embedding APIs to host the interpreter. See the online python docs (in particular the "Embedding Python in Another Application" section - http://www.python.org/doc/ext/ embedding.html) for further details on how to do this. I would be interested to hear any feedback related to this functionality within PythonCE. In theory all you need to download from the PythonCE website is the "developer" zip file which includes the header and lib files required to build your application. Hope this helps, Christopher Fairbairn -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.python.org/pipermail/pythonce/attachments/20071022/af311db4/attachment.htm From frederic.mantegazza at gbiloba.org Mon Oct 22 08:04:33 2007 From: frederic.mantegazza at gbiloba.org (=?iso-8859-15?q?Fr=E9d=E9ric_Mantegazza?=) Date: Mon, 22 Oct 2007 08:04:33 +0200 Subject: [PythonCE] Threads / network Message-ID: <200710220804.33772.frederic.mantegazza@gbiloba.org> Hi, 1) Is PythonCE multi-threaded? Are there some restrictions, because of PythonCE, or because of Windows (vs Linux)? 2) Even if the Pocket PC does not have any network device (wifi or so), is it possible to use sockets locally, in order to communicate with other applications, in other langages? Thanks, -- Fr?d?ric http://www.gbiloba.org From frederic.mantegazza at gbiloba.org Mon Oct 22 10:02:58 2007 From: frederic.mantegazza at gbiloba.org (=?ISO-8859-1?Q?Fr=E9d=E9ric?= Mantegazza) Date: Mon, 22 Oct 2007 10:02:58 +0200 (CEST) Subject: [PythonCE] Qt-wince Message-ID: I saw that Trolltech is releasing a WinCE version of Qt (there is a preview available on their web site). Do you know if a PyQt port could be considered on such plateform? Does anyone here already have looked this way? -- Fr?d?ric From alexandre.delattre at enst-bretagne.fr Mon Oct 22 12:13:48 2007 From: alexandre.delattre at enst-bretagne.fr (Alexandre Delattre) Date: Mon, 22 Oct 2007 12:13:48 +0200 Subject: [PythonCE] Threads / network Message-ID: <471C77DC.5050309@enst-bretagne.fr> Hi, 1) Yes, the thread and threading module are portable wrappers around the os threading facilities. This means they suffer from the same limitation of the os, I can remember there's about max 32 concurrent threads possible on wince (vs ~1000 on the desktop) 2) Yes, all you have to do is to bind your server, or connect your socket to the loopback interface via the ip 127.0.0.1 Regards, Alexandre From frederic.mantegazza at gbiloba.org Mon Oct 22 12:27:58 2007 From: frederic.mantegazza at gbiloba.org (=?ISO-8859-1?Q?Fr=E9d=E9ric?= Mantegazza) Date: Mon, 22 Oct 2007 12:27:58 +0200 (CEST) Subject: [PythonCE] Threads / network In-Reply-To: <471C77DC.5050309@enst-bretagne.fr> Message-ID: Le 22/10/2007, "Alexandre Delattre" a ?crit: >1) Yes, the thread and threading module are portable wrappers around the >os threading facilities. This means they suffer from the same limitation >of the os, I can remember there's about max 32 concurrent threads >possible on wince (vs ~1000 on the desktop) > >2) Yes, all you have to do is to bind your server, or connect your >socket to the loopback interface via the ip 127.0.0.1 Ok, thanks :o) -- Fr?d?ric From alexandre.delattre at enst-bretagne.fr Mon Oct 22 12:32:01 2007 From: alexandre.delattre at enst-bretagne.fr (Alexandre Delattre) Date: Mon, 22 Oct 2007 12:32:01 +0200 Subject: [PythonCE] Qt-wince Message-ID: <471C7C21.7070309@enst-bretagne.fr> Hi, A PyQt port should be feasible, but I'm afraid we'll end up with the same problems as wxpython port regarding high memory usage: Wince kernel has a very tight virtual address space in which dll are adressed (about 32MB), this means passed a certain point, dll could not be loaded. Also the address of the dll must be aligned on a 32k boundary (I'm unsure if it's the exact value), meaning it's better to have one big dll than many little for the same code size. Basically, SIP and SWIG wrappers are a lot of dlls themselves. I do not want to discourage anyone willing to port PyQt, but please consider these two points: - Wrap only the minimal gui classes to reduce code size - Produce only one dll for the wrappers, and better, link statically the wrappers with the Qt library Regards, Alexandre From frederic.mantegazza at gbiloba.org Mon Oct 22 13:20:54 2007 From: frederic.mantegazza at gbiloba.org (=?ISO-8859-1?Q?Fr=E9d=E9ric?= Mantegazza) Date: Mon, 22 Oct 2007 13:20:54 +0200 (CEST) Subject: [PythonCE] Qt-wince In-Reply-To: <471C7C21.7070309@enst-bretagne.fr> Message-ID: Le 22/10/2007, "Alexandre Delattre" a ?crit: > I do not want to discourage anyone willing to port PyQt, but please > consider these two points: > > - Wrap only the minimal gui classes to reduce code size > - Produce only one dll for the wrappers, and better, link statically the wrappers with the > Qt library Ok, I see. Not an easy task :o/ -- Fr?d?ric From coder_infidel at hotmail.com Mon Oct 22 16:59:23 2007 From: coder_infidel at hotmail.com (Luke Dunstan) Date: Mon, 22 Oct 2007 22:59:23 +0800 Subject: [PythonCE] General questions In-Reply-To: <200710211655.18784.frederic.mantegazza@gbiloba.org> Message-ID: >From: Fr?d?ric Mantegazza >To: pythonce at python.org >Subject: Re: [PythonCE] General questions >Date: Sun, 21 Oct 2007 16:55:18 +0200 > >On dimanche 21 octobre 2007, alexandre.delattre at enst-bretagne.fr wrote: > > > If you want to stick with USB, I think you should try to create a > > virtual serial port for usb with the driver given at > > http://www.ftdichip.com/Drivers/VCP.htm (don't know if it works for > > all devices) and use ceserial. Or maybe there's some drivers to setup > > ip over usb, then you can use the regular socket module. > >Yes, my idea was to use a FTDI chip. But I'm afraid I don't have the >knowledge to develop a driver undre WindowsCE... > Look again at the linked FTDI page: they already provide a Windows CE driver. Luke From frederic.mantegazza at gbiloba.org Mon Oct 22 17:24:50 2007 From: frederic.mantegazza at gbiloba.org (=?iso-8859-15?q?Fr=E9d=E9ric_Mantegazza?=) Date: Mon, 22 Oct 2007 17:24:50 +0200 Subject: [PythonCE] General questions In-Reply-To: References: Message-ID: <200710221724.50977.frederic.mantegazza@gbiloba.org> On lundi 22 octobre 2007, Luke Dunstan wrote: > >Yes, my idea was to use a FTDI chip. But I'm afraid I don't have the > >knowledge to develop a driver undre WindowsCE... > > Look again at the linked FTDI page: they already provide a Windows CE > driver. Great! Thanks. -- Fr?d?ric http://www.gbiloba.org From martin.echols at bms.com Wed Oct 24 15:53:28 2007 From: martin.echols at bms.com (Martin M Echols) Date: Wed, 24 Oct 2007 09:53:28 -0400 Subject: [PythonCE] Launching external programs Message-ID: <471F4E58.9060703@bms.com> Hi All, Is it possible to launch external programs from a pythonce script? Such as notes or excel? Regards, Martin -------------- next part -------------- A non-text attachment was scrubbed... Name: martin.echols.vcf Type: text/x-vcard Size: 72 bytes Desc: not available Url : http://mail.python.org/pipermail/pythonce/attachments/20071024/3a9b9603/attachment.vcf From listas at flavioribeiro.com Thu Oct 25 05:59:35 2007 From: listas at flavioribeiro.com (=?ISO-8859-1?Q?Fl=E1vio_Ribeiro?=) Date: Thu, 25 Oct 2007 00:59:35 -0300 Subject: [PythonCE] win32gui missing Message-ID: <873b128e0710242059n5fa037ddua332d888cccf624@mail.gmail.com> hi people, im new to python ce and when i try to import win32gui i receive ImportError: No module named win32gui message. My py is 2.5, any solution? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.python.org/pipermail/pythonce/attachments/20071025/77a6860c/attachment.htm From alexandre.delattre at enst-bretagne.fr Thu Oct 25 15:25:08 2007 From: alexandre.delattre at enst-bretagne.fr (Alexandre Delattre) Date: Thu, 25 Oct 2007 15:25:08 +0200 Subject: [PythonCE] Launching external programs Message-ID: <47209934.9050208@enst-bretagne.fr> Hi, The subprocess and os.popen*() hasn't been ported yet, but a call to os.startfile("\\path\\to\\executable.exe") may help. A drawback is that the function returns immediately Regards, Alexandre. From alexandre.delattre at enst-bretagne.fr Thu Oct 25 15:27:16 2007 From: alexandre.delattre at enst-bretagne.fr (Alexandre Delattre) Date: Thu, 25 Oct 2007 15:27:16 +0200 Subject: [PythonCE] win32gui missing Message-ID: <472099B4.7000401@enst-bretagne.fr> Hi, win32gui is a C extension module that hasn't been ported yet to pyce 2.5. If you are used to win32 ui programming, you may find VensterCE useful (http://sf.net/projects/vensterce/). Regards, Alexandre