From rumata-estor at nm.ru Wed Feb 1 09:27:04 2006 From: rumata-estor at nm.ru (Dmitry Belyaev) Date: Wed, 01 Feb 2006 11:27:04 +0300 Subject: [PythonCE] Python 2.3.5 for Windows CE / ARM (Pocket PC 2003) Message-ID: <43E070D8.7020704@nm.ru> I tryed to compile PythonCE but received following message during compilation: -------------------------------------------------------------------------------- rc.exe /l 0x409 /fobinaries\ARMRel420\pythoncore\python_nt.res /i ..\.. \Include /i ..\..\PC\WinCE /d UNDER_CE=420 /d _WIN32_WCE=420 /d UNICODE /d _UNI CODE /d "WIN32_PLATFORM_PSPC=420" /d "ARM" /d "_ARM_" /r /d "NDEBUG" /r ..\.. \PC\WinCe\python_nt.rc ..\..\PC\WinCe\..\python_nt.rc(4) : fatal error RC1015: cannot open include file 'winver.h'. -------------------------------------------------------------------------------- What should I do to be able to compile it? From TGalvin at geminidataloggers.com Wed Feb 1 12:54:05 2006 From: TGalvin at geminidataloggers.com (Tom Galvin) Date: Wed, 1 Feb 2006 11:54:05 -0000 Subject: [PythonCE] Python 2.3.5 for Windows CE / ARM (Pocket PC Message-ID: I had this error message with incorrectly formatted paths in WCEARM.bat. -----Original Message----- From: pythonce-bounces at python.org [mailto:pythonce-bounces at python.org] On Behalf Of pythonce-request at python.org Sent: 01 February 2006 11:00 To: pythonce at python.org Subject: PythonCE Digest, Vol 31, Issue 1 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) (Dmitry Belyaev) ---------------------------------------------------------------------- Message: 1 Date: Wed, 01 Feb 2006 11:27:04 +0300 From: Dmitry Belyaev Subject: [PythonCE] Python 2.3.5 for Windows CE / ARM (Pocket PC 2003) To: pythonce at python.org Message-ID: <43E070D8.7020704 at nm.ru> Content-Type: text/plain; charset=windows-1251; format=flowed I tryed to compile PythonCE but received following message during compilation: ------------------------------------------------------------------------ -------- rc.exe /l 0x409 /fobinaries\ARMRel420\pythoncore\python_nt.res /i ..\.. \Include /i ..\..\PC\WinCE /d UNDER_CE=420 /d _WIN32_WCE=420 /d UNICODE /d _UNI CODE /d "WIN32_PLATFORM_PSPC=420" /d "ARM" /d "_ARM_" /r /d "NDEBUG" /r ..\.. \PC\WinCe\python_nt.rc ..\..\PC\WinCe\..\python_nt.rc(4) : fatal error RC1015: cannot open include file 'winver.h'. ------------------------------------------------------------------------ -------- What should I do to be able to compile it? ------------------------------ _______________________________________________ PythonCE mailing list PythonCE at python.org http://mail.python.org/mailman/listinfo/pythonce End of PythonCE Digest, Vol 31, Issue 1 *************************************** ____________________ Important Notice: This email and any attachments are confidential and may contain trade secrets or be legally privileged. If you have received this email in error you must not use, rely upon, disclose, copy or distribute the contents. Please reply to the sender so that proper delivery can be arranged and delete the email from your computer. Gemini Data Loggers monitor incoming and outgoing email to ensure satisfactory customer service, maintain company security and prevent abuse of their email system. However, any views expressed in this email are not necessarily those of Gemini and Gemini cannot be held responsible for the content. Gemini makes best efforts to ensure emails are virus free; however you are advised to carry out your own checks. Gemini does not accept responsibility for any damage resulting from email viruses. ____________________ From rumata-estor at nm.ru Wed Feb 1 15:39:56 2006 From: rumata-estor at nm.ru (Dmitry Belyaev) Date: Wed, 01 Feb 2006 17:39:56 +0300 Subject: [PythonCE] Python 2.3.5 for Windows CE / ARM (Pocket PC 2003) In-Reply-To: <43E070D8.7020704@nm.ru> References: <43E070D8.7020704@nm.ru> Message-ID: <43E0C83C.1070902@nm.ru> Oh, I found that my SDK directory is not like "Pocket PC 2003" but "STANDARDSDK". Anyway, I wasn't able to compile it until I modified "set INCLUDE" and "set LIB" directives for full path to my SDK. So, now I have built python23.lib and working version of expat module. Dmitry Belyaev wrote: > I tryed to compile PythonCE but received following message during > compilation: > -------------------------------------------------------------------------------- > > rc.exe /l 0x409 /fobinaries\ARMRel420\pythoncore\python_nt.res > /i ..\.. > \Include /i ..\..\PC\WinCE /d UNDER_CE=420 /d _WIN32_WCE=420 /d > UNICODE /d _UNI > CODE /d "WIN32_PLATFORM_PSPC=420" /d "ARM" /d "_ARM_" /r /d > "NDEBUG" /r ..\.. > \PC\WinCe\python_nt.rc > ..\..\PC\WinCe\..\python_nt.rc(4) : fatal error RC1015: cannot open > include file > 'winver.h'. > -------------------------------------------------------------------------------- > > What should I do to be able to compile it? > From Scottandtracee at Netscape.com Wed Feb 1 23:59:08 2006 From: Scottandtracee at Netscape.com (Scott and Tracee Lang) Date: Wed, 01 Feb 2006 17:59:08 -0500 Subject: [PythonCE] What is Latest PythonCE.Mips version Message-ID: <43E13D3C.3000107@Netscape.com> Hello, I am new to this list. I am currently taking a college programming class in python. I was wondering if someone could tell me what is the last successfully ported version of PythonCE for the mips. processor. The latest versions I have located seem to be for the arm. processor only?? I have installed the following: PythonCE22_hpc2000.mips, on my NEC Mobilepro 790, and it runs just fine. I would like to have the latest. Thankyou. Scottandtracee at netscape.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.python.org/pipermail/pythonce/attachments/20060201/9e287322/attachment.htm From shane.holloway at ieee.org Thu Feb 9 22:18:08 2006 From: shane.holloway at ieee.org (Shane Holloway (IEEE)) Date: Thu, 9 Feb 2006 14:18:08 -0700 Subject: [PythonCE] ceFile.py implementing basic file-like interface Message-ID: <86641FA7-E435-4254-962D-229F91484997@ieee.org> Hey Everyone, Just thought I'd upload our latest RAPI code that implements a file like object for reading and writing over RAPI. Hope you all find it helpful! Currently, it doesn't support the readline and iterator type thing, though that should be doable on top of this interface. Just didn't have time to tackle that piece when I was writing it. Enjoy! -Shane & Brian -------------- next part -------------- A non-text attachment was scrubbed... Name: ceFile.py Type: text/x-python-script Size: 8468 bytes Desc: not available Url : http://mail.python.org/pipermail/pythonce/attachments/20060209/56a2bd52/attachment.bin -------------- next part -------------- A non-text attachment was scrubbed... Name: pocketRapi.py Type: text/x-python-script Size: 13678 bytes Desc: not available Url : http://mail.python.org/pipermail/pythonce/attachments/20060209/56a2bd52/attachment-0001.bin -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: LICENSE.txt Url: http://mail.python.org/pipermail/pythonce/attachments/20060209/56a2bd52/attachment.txt From shane.holloway at ieee.org Thu Feb 9 22:18:08 2006 From: shane.holloway at ieee.org (Shane Holloway (IEEE)) Date: Thu, 9 Feb 2006 14:18:08 -0700 Subject: [PythonCE] ceFile.py implementing basic file-like interface Message-ID: <86641FA7-E435-4254-962D-229F91484997@ieee.org> Hey Everyone, Just thought I'd upload our latest RAPI code that implements a file like object for reading and writing over RAPI. Hope you all find it helpful! Currently, it doesn't support the readline and iterator type thing, though that should be doable on top of this interface. Just didn't have time to tackle that piece when I was writing it. Enjoy! -Shane & Brian -------------- next part -------------- A non-text attachment was scrubbed... Name: ceFile.py Type: text/x-python-script Size: 8468 bytes Desc: not available Url : http://mail.python.org/pipermail/pythonce/attachments/20060209/56a2bd52/attachment-0004.bin -------------- next part -------------- A non-text attachment was scrubbed... Name: pocketRapi.py Type: text/x-python-script Size: 13678 bytes Desc: not available Url : http://mail.python.org/pipermail/pythonce/attachments/20060209/56a2bd52/attachment-0005.bin -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: LICENSE.txt Url: http://mail.python.org/pipermail/pythonce/attachments/20060209/56a2bd52/attachment-0002.txt From zblace at gmail.com Sun Feb 12 12:34:54 2006 From: zblace at gmail.com (zeljko blace) Date: Sun, 12 Feb 2006 12:34:54 +0100 Subject: [PythonCE] using PythonCE to cluster a set of Axim X5 devices to interact and display images/video as single device... Message-ID: Dear list members, here is a post from curious newbie (so pardon my lack of Python overview) I am brainstorming on how to visualize a software project that deals with per-frame video editing (obviously very short animations) and make it excessible to the kids... I own Axim X5 (thinking of getting few more) and have a friend that is expert Python programer with whome I might try to test this scenario: 1) Have 4 (up to 8) Axim X5 devices running PocketPC 2003, 2) single PC running whatever (Windows/Linux/MacOSX) 3) connect them through IrDa connection to PC 4) get them to display in full screen locally storred images 5) when any of them is touched - notify PC which would send update to the devices what would be the next image to display... So what is needed is: * (reliable) way to communicate fast (tiny amount of info on images) in-between individual devices and PC and back * software that would display in full screen images and videos (hopefully open source so it can be made to send out signals on interaction with PC and pick up images without relaying much on system software) Anyone done anything similar or has ideas on how to approach this? -- http://basis.desk.org:8080/ASU2/TravelPlan Goethe - "What is important in life is life, and not the result of life." From javirosa at eden.rutgers.edu Tue Feb 14 03:06:15 2006 From: javirosa at eden.rutgers.edu (javirosa at eden.rutgers.edu) Date: Mon, 13 Feb 2006 21:06:15 -0500 (EST) Subject: [PythonCE] PythonCE Digest, Vol 31, Issue 5 In-Reply-To: References: Message-ID: <1498.172.23.105.248.1139882775.squirrel@webmail.eden.rutgers.edu> One possibility might be to set up a local website and have the pocketPCs communicate . Using windows I get internet access on my pda when its connected through usb. On the other hand, I'm not sure if you can have multiple computers connected via one irda port. I don't want to pretend to know what I'm doing but it seems like an interesting idea. I'm not quite sure that I understand what the big picture is though. > 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. using PythonCE to cluster a set of Axim X5 devices to > interact and display images/video as single device... (zeljko blace) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Sun, 12 Feb 2006 12:34:54 +0100 > From: zeljko blace > Subject: [PythonCE] using PythonCE to cluster a set of Axim X5 devices > to interact and display images/video as single device... > To: pythonce at python.org > Cc: Aleksandar Erkalovic > Message-ID: > > Content-Type: text/plain; charset=ISO-8859-1 > > Dear list members, > here is a post from curious newbie (so pardon my lack of Python overview) > > I am brainstorming on how to visualize a software project that deals > with per-frame video editing (obviously very short animations) and > make it excessible to the kids... > > I own Axim X5 (thinking of getting few more) and have a friend that is > expert Python programer with whome I might try to test this scenario: > 1) Have 4 (up to 8) Axim X5 devices running PocketPC 2003, > 2) single PC running whatever (Windows/Linux/MacOSX) > 3) connect them through IrDa connection to PC > 4) get them to display in full screen locally storred images > 5) when any of them is touched - notify PC which would send update to > the devices what would be the next image to display... > > So what is needed is: > * (reliable) way to communicate fast (tiny amount of info on images) > in-between individual devices and PC and back > * software that would display in full screen images and videos > (hopefully open source so it can be made to send out signals on > interaction with PC and pick up images without relaying much on system > software) > > Anyone done anything similar or has ideas on how to approach this? > > -- > http://basis.desk.org:8080/ASU2/TravelPlan > Goethe - "What is important in life is life, and not the result of life." > > > ------------------------------ > > _______________________________________________ > PythonCE mailing list > PythonCE at python.org > http://mail.python.org/mailman/listinfo/pythonce > > > End of PythonCE Digest, Vol 31, Issue 5 > *************************************** > From zblace at gmail.com Tue Feb 14 13:34:29 2006 From: zblace at gmail.com (zeljko blace) Date: Tue, 14 Feb 2006 13:34:29 +0100 Subject: [PythonCE] using PythonCE to cluster a set of Axim X5 devices interact and display images/video as single device... Message-ID: Hm... that sounds like it would add to slow response time. I am looking for way to avoid use of any extra cabeling or interfaces (WiFi or Bluetooth) to keep the situation as simple and as reliable. On 2/14/06, javirosa at eden.rutgers.edu wrote: > One possibility might be to set up a local website and have the pocketPCs > communicate . Using windows I get internet access on my pda when its > connected through usb. On the other hand, I'm not sure if you can have > multiple computers connected via one irda port. > > I don't want to pretend to know what I'm doing but it seems like an > interesting idea. I'm not quite sure that I understand what the big > picture is though. > > > 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. using PythonCE to cluster a set of Axim X5 devices to > > interact and display images/video as single device... (zeljko blace) > > > > > > ---------------------------------------------------------------------- > > > > Message: 1 > > Date: Sun, 12 Feb 2006 12:34:54 +0100 > > From: zeljko blace > > Subject: [PythonCE] using PythonCE to cluster a set of Axim X5 devices > > to interact and display images/video as single device... > > To: pythonce at python.org > > Cc: Aleksandar Erkalovic > > Message-ID: > > > > Content-Type: text/plain; charset=ISO-8859-1 > > > > Dear list members, > > here is a post from curious newbie (so pardon my lack of Python overview) > > > > I am brainstorming on how to visualize a software project that deals > > with per-frame video editing (obviously very short animations) and > > make it excessible to the kids... > > > > I own Axim X5 (thinking of getting few more) and have a friend that is > > expert Python programer with whome I might try to test this scenario: > > 1) Have 4 (up to 8) Axim X5 devices running PocketPC 2003, > > 2) single PC running whatever (Windows/Linux/MacOSX) > > 3) connect them through IrDa connection to PC > > 4) get them to display in full screen locally storred images > > 5) when any of them is touched - notify PC which would send update to > > the devices what would be the next image to display... > > > > So what is needed is: > > * (reliable) way to communicate fast (tiny amount of info on images) > > in-between individual devices and PC and back > > * software that would display in full screen images and videos > > (hopefully open source so it can be made to send out signals on > > interaction with PC and pick up images without relaying much on system > > software) > > > > Anyone done anything similar or has ideas on how to approach this? > > > > -- > > http://basis.desk.org:8080/ASU2/TravelPlan > > Goethe - "What is important in life is life, and not the result of life." > > > > > > ------------------------------ > > > > _______________________________________________ > > PythonCE mailing list > > PythonCE at python.org > > http://mail.python.org/mailman/listinfo/pythonce > > > > > > End of PythonCE Digest, Vol 31, Issue 5 > > *************************************** > > > > > _______________________________________________ > PythonCE mailing list > PythonCE at python.org > http://mail.python.org/mailman/listinfo/pythonce > -- http://basis.desk.org:8080/ASU2/TravelPlan Goethe - "What is important in life is life, and not the result of life." From fuzzyman at voidspace.org.uk Tue Feb 14 13:58:43 2006 From: fuzzyman at voidspace.org.uk (Fuzzyman) Date: Tue, 14 Feb 2006 12:58:43 +0000 Subject: [PythonCE] using PythonCE to cluster a set of Axim X5 devices interact and display images/video as single device... In-Reply-To: References: Message-ID: <43F1D403.5010903@voidspace.org.uk> zeljko blace wrote: >Hm... that sounds like it would add to slow response time. > >I am looking for way to avoid use of any extra cabeling or interfaces >(WiFi or Bluetooth) to keep the situation as simple and as reliable. > > > Irda is a notoriously unreliable connection (certainly in my experience). It is line of sight only and normally only over a very short distance - have you tested that this is possible ? Fuzzyman http://www.voidspace.org.uk/python/index.shtml >On 2/14/06, javirosa at eden.rutgers.edu wrote: > > >>One possibility might be to set up a local website and have the pocketPCs >>communicate . Using windows I get internet access on my pda when its >>connected through usb. On the other hand, I'm not sure if you can have >>multiple computers connected via one irda port. >> >>I don't want to pretend to know what I'm doing but it seems like an >>interesting idea. I'm not quite sure that I understand what the big >>picture is though. >> >> >> >>>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. using PythonCE to cluster a set of Axim X5 devices to >>> interact and display images/video as single device... (zeljko blace) >>> >>> >>>---------------------------------------------------------------------- >>> >>>Message: 1 >>>Date: Sun, 12 Feb 2006 12:34:54 +0100 >>>From: zeljko blace >>>Subject: [PythonCE] using PythonCE to cluster a set of Axim X5 devices >>> to interact and display images/video as single device... >>>To: pythonce at python.org >>>Cc: Aleksandar Erkalovic >>>Message-ID: >>> >>>Content-Type: text/plain; charset=ISO-8859-1 >>> >>>Dear list members, >>>here is a post from curious newbie (so pardon my lack of Python overview) >>> >>>I am brainstorming on how to visualize a software project that deals >>>with per-frame video editing (obviously very short animations) and >>>make it excessible to the kids... >>> >>>I own Axim X5 (thinking of getting few more) and have a friend that is >>>expert Python programer with whome I might try to test this scenario: >>>1) Have 4 (up to 8) Axim X5 devices running PocketPC 2003, >>>2) single PC running whatever (Windows/Linux/MacOSX) >>>3) connect them through IrDa connection to PC >>>4) get them to display in full screen locally storred images >>>5) when any of them is touched - notify PC which would send update to >>>the devices what would be the next image to display... >>> >>>So what is needed is: >>>* (reliable) way to communicate fast (tiny amount of info on images) >>>in-between individual devices and PC and back >>>* software that would display in full screen images and videos >>>(hopefully open source so it can be made to send out signals on >>>interaction with PC and pick up images without relaying much on system >>>software) >>> >>>Anyone done anything similar or has ideas on how to approach this? >>> >>>-- >>>http://basis.desk.org:8080/ASU2/TravelPlan >>>Goethe - "What is important in life is life, and not the result of life." >>> >>> >>>------------------------------ >>> >>>_______________________________________________ >>>PythonCE mailing list >>>PythonCE at python.org >>>http://mail.python.org/mailman/listinfo/pythonce >>> >>> >>>End of PythonCE Digest, Vol 31, Issue 5 >>>*************************************** >>> >>> >>> >>_______________________________________________ >>PythonCE mailing list >>PythonCE at python.org >>http://mail.python.org/mailman/listinfo/pythonce >> >> >> > > >-- >http://basis.desk.org:8080/ASU2/TravelPlan > >Goethe - "What is important in life is life, and not the result of life." >_______________________________________________ >PythonCE mailing list >PythonCE at python.org >http://mail.python.org/mailman/listinfo/pythonce > > > From zblace at gmail.com Tue Feb 14 15:06:47 2006 From: zblace at gmail.com (zeljko blace) Date: Tue, 14 Feb 2006 15:06:47 +0100 Subject: [PythonCE] using PythonCE to cluster a set of Axim X5 devices interact and display images/video as single device... In-Reply-To: <43F1D403.5010903@voidspace.org.uk> References: <43F1D403.5010903@voidspace.org.uk> Message-ID: no tests done... devices would stay next to each other anyway so it should not be an issue On 2/14/06, Fuzzyman wrote: > zeljko blace wrote: > > >Hm... that sounds like it would add to slow response time. > > > >I am looking for way to avoid use of any extra cabeling or interfaces > >(WiFi or Bluetooth) to keep the situation as simple and as reliable. > > > > > > > > Irda is a notoriously unreliable connection (certainly in my > experience). It is line of sight only and normally only over a very > short distance - have you tested that this is possible ? > > Fuzzyman > http://www.voidspace.org.uk/python/index.shtml > > >On 2/14/06, javirosa at eden.rutgers.edu wrote: > > > > > >>One possibility might be to set up a local website and have the pocketPCs > >>communicate . Using windows I get internet access on my pda when its > >>connected through usb. On the other hand, I'm not sure if you can have > >>multiple computers connected via one irda port. > >> > >>I don't want to pretend to know what I'm doing but it seems like an > >>interesting idea. I'm not quite sure that I understand what the big > >>picture is though. > >> > >> > >> > >>>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. using PythonCE to cluster a set of Axim X5 devices to > >>> interact and display images/video as single device... (zeljko blace) > >>> > >>> > >>>---------------------------------------------------------------------- > >>> > >>>Message: 1 > >>>Date: Sun, 12 Feb 2006 12:34:54 +0100 > >>>From: zeljko blace > >>>Subject: [PythonCE] using PythonCE to cluster a set of Axim X5 devices > >>> to interact and display images/video as single device... > >>>To: pythonce at python.org > >>>Cc: Aleksandar Erkalovic > >>>Message-ID: > >>> > >>>Content-Type: text/plain; charset=ISO-8859-1 > >>> > >>>Dear list members, > >>>here is a post from curious newbie (so pardon my lack of Python overview) > >>> > >>>I am brainstorming on how to visualize a software project that deals > >>>with per-frame video editing (obviously very short animations) and > >>>make it excessible to the kids... > >>> > >>>I own Axim X5 (thinking of getting few more) and have a friend that is > >>>expert Python programer with whome I might try to test this scenario: > >>>1) Have 4 (up to 8) Axim X5 devices running PocketPC 2003, > >>>2) single PC running whatever (Windows/Linux/MacOSX) > >>>3) connect them through IrDa connection to PC > >>>4) get them to display in full screen locally storred images > >>>5) when any of them is touched - notify PC which would send update to > >>>the devices what would be the next image to display... > >>> > >>>So what is needed is: > >>>* (reliable) way to communicate fast (tiny amount of info on images) > >>>in-between individual devices and PC and back > >>>* software that would display in full screen images and videos > >>>(hopefully open source so it can be made to send out signals on > >>>interaction with PC and pick up images without relaying much on system > >>>software) > >>> > >>>Anyone done anything similar or has ideas on how to approach this? > >>> > >>>-- > >>>http://basis.desk.org:8080/ASU2/TravelPlan > >>>Goethe - "What is important in life is life, and not the result of life." > >>> > >>> > >>>------------------------------ > >>> > >>>_______________________________________________ > >>>PythonCE mailing list > >>>PythonCE at python.org > >>>http://mail.python.org/mailman/listinfo/pythonce > >>> > >>> > >>>End of PythonCE Digest, Vol 31, Issue 5 > >>>*************************************** > >>> > >>> > >>> > >>_______________________________________________ > >>PythonCE mailing list > >>PythonCE at python.org > >>http://mail.python.org/mailman/listinfo/pythonce > >> > >> > >> > > > > > >-- > >http://basis.desk.org:8080/ASU2/TravelPlan > > > >Goethe - "What is important in life is life, and not the result of life." > >_______________________________________________ > >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 > -- http://basis.desk.org:8080/ASU2/TravelPlan Goethe - "What is important in life is life, and not the result of life." From fuzzyman at voidspace.org.uk Tue Feb 14 15:21:34 2006 From: fuzzyman at voidspace.org.uk (Fuzzyman) Date: Tue, 14 Feb 2006 14:21:34 +0000 Subject: [PythonCE] using PythonCE to cluster a set of Axim X5 devices interact and display images/video as single device... In-Reply-To: References: <43F1D403.5010903@voidspace.org.uk> Message-ID: <43F1E76E.7050908@voidspace.org.uk> zeljko blace wrote: >no tests done... >devices would stay next to each other anyway >so it should not be an issue > > Ok, fair enough. :-) On the other hand, bluetooth is only as unreliable as Irda and wifi is better. I don't *know* of any ways to access the Irda port through PythonCE (except perhaps through the new ctypes library). On the other hand you will be able to use TCP/IP over bluetooth/wifi. You should be able to do this through the socket module or using urllib/urllib2 as a wrapper. I would be tempted to run a python proxy server on the PDA (based on HTTPSimpleServer) - making requests to a server running on the PC. That means you would use Pocket IE to display the images. If you don't need to modify your requests too much you could just run a server on the main computer and not use Python on the PDAs at all. Alternatively there is an implementation of PyGame with *some* functionality compiled for PocketPC (I believe - search the archives of this list). TCP/IP is still a good way to push your data around. All the best, Fuzzyman http://www.voidspace.org.uk/python//index.shtml >On 2/14/06, Fuzzyman wrote: > > >>zeljko blace wrote: >> >> >> >>>Hm... that sounds like it would add to slow response time. >>> >>>I am looking for way to avoid use of any extra cabeling or interfaces >>>(WiFi or Bluetooth) to keep the situation as simple and as reliable. >>> >>> >>> >>> >>> >>Irda is a notoriously unreliable connection (certainly in my >>experience). It is line of sight only and normally only over a very >>short distance - have you tested that this is possible ? >> >>Fuzzyman >>http://www.voidspace.org.uk/python/index.shtml >> >> >> >>>On 2/14/06, javirosa at eden.rutgers.edu wrote: >>> >>> >>> >>> >>>>One possibility might be to set up a local website and have the pocketPCs >>>>communicate . Using windows I get internet access on my pda when its >>>>connected through usb. On the other hand, I'm not sure if you can have >>>>multiple computers connected via one irda port. >>>> >>>>I don't want to pretend to know what I'm doing but it seems like an >>>>interesting idea. I'm not quite sure that I understand what the big >>>>picture is though. >>>> >>>> >>>> >>>> >>>> >>>>>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. using PythonCE to cluster a set of Axim X5 devices to >>>>> interact and display images/video as single device... (zeljko blace) >>>>> >>>>> >>>>>---------------------------------------------------------------------- >>>>> >>>>>Message: 1 >>>>>Date: Sun, 12 Feb 2006 12:34:54 +0100 >>>>>From: zeljko blace >>>>>Subject: [PythonCE] using PythonCE to cluster a set of Axim X5 devices >>>>> to interact and display images/video as single device... >>>>>To: pythonce at python.org >>>>>Cc: Aleksandar Erkalovic >>>>>Message-ID: >>>>> >>>>>Content-Type: text/plain; charset=ISO-8859-1 >>>>> >>>>>Dear list members, >>>>>here is a post from curious newbie (so pardon my lack of Python overview) >>>>> >>>>>I am brainstorming on how to visualize a software project that deals >>>>>with per-frame video editing (obviously very short animations) and >>>>>make it excessible to the kids... >>>>> >>>>>I own Axim X5 (thinking of getting few more) and have a friend that is >>>>>expert Python programer with whome I might try to test this scenario: >>>>>1) Have 4 (up to 8) Axim X5 devices running PocketPC 2003, >>>>>2) single PC running whatever (Windows/Linux/MacOSX) >>>>>3) connect them through IrDa connection to PC >>>>>4) get them to display in full screen locally storred images >>>>>5) when any of them is touched - notify PC which would send update to >>>>>the devices what would be the next image to display... >>>>> >>>>>So what is needed is: >>>>>* (reliable) way to communicate fast (tiny amount of info on images) >>>>>in-between individual devices and PC and back >>>>>* software that would display in full screen images and videos >>>>>(hopefully open source so it can be made to send out signals on >>>>>interaction with PC and pick up images without relaying much on system >>>>>software) >>>>> >>>>>Anyone done anything similar or has ideas on how to approach this? >>>>> >>>>>-- >>>>>http://basis.desk.org:8080/ASU2/TravelPlan >>>>>Goethe - "What is important in life is life, and not the result of life." >>>>> >>>>> >>>>>------------------------------ >>>>> >>>>>_______________________________________________ >>>>>PythonCE mailing list >>>>>PythonCE at python.org >>>>>http://mail.python.org/mailman/listinfo/pythonce >>>>> >>>>> >>>>>End of PythonCE Digest, Vol 31, Issue 5 >>>>>*************************************** >>>>> >>>>> >>>>> >>>>> >>>>> >>>>_______________________________________________ >>>>PythonCE mailing list >>>>PythonCE at python.org >>>>http://mail.python.org/mailman/listinfo/pythonce >>>> >>>> >>>> >>>> >>>> >>>-- >>>http://basis.desk.org:8080/ASU2/TravelPlan >>> >>>Goethe - "What is important in life is life, and not the result of life." >>>_______________________________________________ >>>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 >> >> >> > > >-- >http://basis.desk.org:8080/ASU2/TravelPlan > >Goethe - "What is important in life is life, and not the result of life." > > > From theller at python.net Tue Feb 14 22:06:18 2006 From: theller at python.net (Thomas Heller) Date: Tue, 14 Feb 2006 22:06:18 +0100 Subject: [PythonCE] ceFile.py implementing basic file-like interface In-Reply-To: <86641FA7-E435-4254-962D-229F91484997@ieee.org> References: <86641FA7-E435-4254-962D-229F91484997@ieee.org> Message-ID: Shane Holloway (IEEE) wrote: > Hey Everyone, > > Just thought I'd upload our latest RAPI code that implements a file like > object for reading and writing over RAPI. Hope you all find it > helpful! Currently, it doesn't support the readline and iterator type > thing, though that should be doable on top of this interface. Just > didn't have time to tackle that piece when I was writing it. > > Enjoy! > -Shane & Brian I haven't taken a detailed look at the code, but it may be useful ;-). I'm currently hacking a little bit with distutils to integrate win CE support into the ctypes setup script so that it is easier to transfer the code to the pda. IMO modules like these should have an official place in CVS or SVN somewhere, so that they can be installed and used by others - standalone files that everyone installes in his own private directories isn't that useful. Since they are ctypes-based, the ctypes CVS repository on sourceforge would be a possible place, and a convenient one for me. Of course, other places could be good as well. What do you think? Thomas From jan.ischebeck at p3-gmbh.de Wed Feb 15 00:39:35 2006 From: jan.ischebeck at p3-gmbh.de (Ischebeck, Jan) Date: Wed, 15 Feb 2006 00:39:35 +0100 Subject: [PythonCE] using PythonCE to cluster a set of Axim X5 devices interact and display images/video as single device... References: <43F1D403.5010903@voidspace.org.uk> <43F1E76E.7050908@voidspace.org.uk> Message-ID: Dear Zeljko, I just can confirm Fuzzyman's opinion. Using irda is quite troublesome and probably impossible for >1 device. Just for one device its even bad, as you have to hold the device in 10cm distance to the transmitter / laptop all the time. Instead using Wifi is really convinient. The connection is really reliable and is very easy to setup. You just need aditional hardware (WLAN-extension cards) for the Axim X5. In my opinion, there are only two possible scenarios. a) using wifi (quite superior, easy to setup and enough bandwith - but extra cost) b) using usb cables and a usb hub Concerning the cable solution you probably have to switch to linux as a host os, as I don't think that ActiveSync support more than one device at a time. With linux it is feasible. Good luck, Jan -----Urspr?ngliche Nachricht----- Von: pythonce-bounces at python.org im Auftrag von Fuzzyman Gesendet: Di 14-Feb-06 23:21 An: zeljko blace Cc: pythonce at python.org Betreff: Re: [PythonCE] using PythonCE to cluster a set of Axim X5 devices interact and display images/video as single device... zeljko blace wrote: >no tests done... >devices would stay next to each other anyway >so it should not be an issue > > Ok, fair enough. :-) On the other hand, bluetooth is only as unreliable as Irda and wifi is better. I don't *know* of any ways to access the Irda port through PythonCE (except perhaps through the new ctypes library). On the other hand you will be able to use TCP/IP over bluetooth/wifi. You should be able to do this through the socket module or using urllib/urllib2 as a wrapper. I would be tempted to run a python proxy server on the PDA (based on HTTPSimpleServer) - making requests to a server running on the PC. That means you would use Pocket IE to display the images. If you don't need to modify your requests too much you could just run a server on the main computer and not use Python on the PDAs at all. Alternatively there is an implementation of PyGame with *some* functionality compiled for PocketPC (I believe - search the archives of this list). TCP/IP is still a good way to push your data around. All the best, Fuzzyman http://www.voidspace.org.uk/python//index.shtml >On 2/14/06, Fuzzyman wrote: > > >>zeljko blace wrote: >> >> >> >>>Hm... that sounds like it would add to slow response time. >>> >>>I am looking for way to avoid use of any extra cabeling or interfaces >>>(WiFi or Bluetooth) to keep the situation as simple and as reliable. >>> >>> >>> >>> >>> >>Irda is a notoriously unreliable connection (certainly in my >>experience). It is line of sight only and normally only over a very >>short distance - have you tested that this is possible ? >> >>Fuzzyman >>http://www.voidspace.org.uk/python/index.shtml >> >> >> >>>On 2/14/06, javirosa at eden.rutgers.edu wrote: >>> >>> >>> >>> >>>>One possibility might be to set up a local website and have the pocketPCs >>>>communicate . Using windows I get internet access on my pda when its >>>>connected through usb. On the other hand, I'm not sure if you can have >>>>multiple computers connected via one irda port. >>>> >>>>I don't want to pretend to know what I'm doing but it seems like an >>>>interesting idea. I'm not quite sure that I understand what the big >>>>picture is though. >>>> >>>> >>>> >>>> >>>> >>>>>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. using PythonCE to cluster a set of Axim X5 devices to >>>>> interact and display images/video as single device... (zeljko blace) >>>>> >>>>> >>>>>---------------------------------------------------------------------- >>>>> >>>>>Message: 1 >>>>>Date: Sun, 12 Feb 2006 12:34:54 +0100 >>>>>From: zeljko blace >>>>>Subject: [PythonCE] using PythonCE to cluster a set of Axim X5 devices >>>>> to interact and display images/video as single device... >>>>>To: pythonce at python.org >>>>>Cc: Aleksandar Erkalovic >>>>>Message-ID: >>>>> >>>>>Content-Type: text/plain; charset=ISO-8859-1 >>>>> >>>>>Dear list members, >>>>>here is a post from curious newbie (so pardon my lack of Python overview) >>>>> >>>>>I am brainstorming on how to visualize a software project that deals >>>>>with per-frame video editing (obviously very short animations) and >>>>>make it excessible to the kids... >>>>> >>>>>I own Axim X5 (thinking of getting few more) and have a friend that is >>>>>expert Python programer with whome I might try to test this scenario: >>>>>1) Have 4 (up to 8) Axim X5 devices running PocketPC 2003, >>>>>2) single PC running whatever (Windows/Linux/MacOSX) >>>>>3) connect them through IrDa connection to PC >>>>>4) get them to display in full screen locally storred images >>>>>5) when any of them is touched - notify PC which would send update to >>>>>the devices what would be the next image to display... >>>>> >>>>>So what is needed is: >>>>>* (reliable) way to communicate fast (tiny amount of info on images) >>>>>in-between individual devices and PC and back >>>>>* software that would display in full screen images and videos >>>>>(hopefully open source so it can be made to send out signals on >>>>>interaction with PC and pick up images without relaying much on system >>>>>software) >>>>> >>>>>Anyone done anything similar or has ideas on how to approach this? >>>>> >>>>>-- >>>>>http://basis.desk.org:8080/ASU2/TravelPlan >>>>>Goethe - "What is important in life is life, and not the result of life." >>>>> >>>>> >>>>>------------------------------ >>>>> >>>>>_______________________________________________ >>>>>PythonCE mailing list >>>>>PythonCE at python.org >>>>>http://mail.python.org/mailman/listinfo/pythonce >>>>> >>>>> >>>>>End of PythonCE Digest, Vol 31, Issue 5 >>>>>*************************************** >>>>> >>>>> >>>>> >>>>> >>>>> >>>>_______________________________________________ >>>>PythonCE mailing list >>>>PythonCE at python.org >>>>http://mail.python.org/mailman/listinfo/pythonce >>>> >>>> >>>> >>>> >>>> >>>-- >>>http://basis.desk.org:8080/ASU2/TravelPlan >>> >>>Goethe - "What is important in life is life, and not the result of life." >>>_______________________________________________ >>>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 >> >> >> > > >-- >http://basis.desk.org:8080/ASU2/TravelPlan > >Goethe - "What is important in life is life, and not the result of life." > > > _______________________________________________ PythonCE mailing list PythonCE at python.org http://mail.python.org/mailman/listinfo/pythonce From jeff_barish at earthlink.net Wed Feb 15 00:42:32 2006 From: jeff_barish at earthlink.net (Jeffrey Barish) Date: Tue, 14 Feb 2006 16:42:32 -0700 Subject: [PythonCE] Spinner Message-ID: <200602141642.32881.jeff_barish@earthlink.net> Does anyone know why I get the spinner over any Python application that I run? The application seems to be running fine even though I am supposed to wait for something. -- Jeffrey Barish From coder_infidel at hotmail.com Wed Feb 15 13:24:39 2006 From: coder_infidel at hotmail.com (Luke Dunstan) Date: Wed, 15 Feb 2006 20:24:39 +0800 Subject: [PythonCE] Spinner References: <200602141642.32881.jeff_barish@earthlink.net> Message-ID: This happens in GUI applications because the PythonCE shell thinks that the program is busy even though it may simply be in a message loop. One way to get rid of the wait cursor is: import _pcceshell_support _pcceshell_support.Busy(0) Luke ----- Original Message ----- From: "Jeffrey Barish" To: Sent: Wednesday, February 15, 2006 7:42 AM Subject: [PythonCE] Spinner > Does anyone know why I get the spinner over any Python application that I > run? > The application seems to be running fine even though I am supposed to wait > for something. > -- > Jeffrey Barish > _______________________________________________ > PythonCE mailing list > PythonCE at python.org > http://mail.python.org/mailman/listinfo/pythonce > From jeff_barish at earthlink.net Wed Feb 15 18:55:26 2006 From: jeff_barish at earthlink.net (Jeffrey Barish) Date: Wed, 15 Feb 2006 10:55:26 -0700 Subject: [PythonCE] Differences running wxPython on WinCE vs WinXP Message-ID: <200602151055.26786.jeff_barish@earthlink.net> I am moving my application over to WinCE now that I have it working on WinXP. I have noticed a few differences off the bat that I am wondering about: 1. As I mentioned in my previous email, I get a spinner over any Python application that I run. 2. In a ListCtrl with multiple columns, a selected item is highlighted in every column under XP but only in the first column with CE. Also, it is not possible in CE to select an item by tapping on it in any column other than the first. Is there a way to restore the functionality I get on other platforms? 3. unicode support seems to have disappeared. I didn't even know that I had or needed unicode support, but apparently the text file I am using as the source for the strings I display contains a few unicode characters. Under XP, the characters display correctly. I switched to Python 2.3.5 on XP for consistency with the Python on CE. Do I have to do something on CE to invoke unicode support? If it was jettisoned, is there a way to restore it? 4. The most serious problem is that screen updates occur very slowly. Updates that occur on XP in the blink of an eye, take around 10 seconds on CE. Does anyone have any thoughts as to possible causes for this problem? I am on a Dell Axim X51v (624 MHz), which I think would be considered a top-end PDA. I don't think the problem is the Wifi connection I use to obtain the text I display because the Wifi connection is not a problem for the previous version of the program which runs on a Zaurus using PyQt. Is it possible that PythonCE is that much slower than the Python that runs under Linux on the Zaurus? Could CE itself be the problem? Could wxPython be that much slower than PyQt? I don't know whether there any many wxPython users on this list, so perhaps I should post on comp.python.wxpython -- but then I don't know whether there are many PythonCE users on that list. -- Jeffrey Barish From shane.holloway at ieee.org Thu Feb 16 18:37:27 2006 From: shane.holloway at ieee.org (Shane Holloway (IEEE)) Date: Thu, 16 Feb 2006 10:37:27 -0700 Subject: [PythonCE] ceFile.py implementing basic file-like interface In-Reply-To: References: <86641FA7-E435-4254-962D-229F91484997@ieee.org> Message-ID: <3C89F304-74AF-4512-B5CE-B7FF55D64703@ieee.org> Yes, I saw your new ctypes version for CE. Very excited. Unfortunately we are stuck in .NET land for a few near-term releases. I just can't wait to switch over to using python on this platform. Ctypes will certainly help us get there! As for common modules, I certainly agree that they need a common place to live. I would expect them to be somewhere like the PythonCE project on SourceForge or some other central area. I don't really like the idea of multi-purposing the ctypes repository with CE stuff for much the same reasons as I did not care for the comtypes being in there. The RAPI interfaces are just one of the things I'd like to see in this common repository, and I know everyone else has expressed similar sentiments. We will really need a good .NET bridge for the compact framework eventually. Hopefully we will be able to build that atop ctypes -- but I'm starting to think we are going to need to use a combination of OpenNETCF.org 2.0 Framework as well as the .NET 2.0 CF to get things to approach what Zope has implemented for the desktop. Anyhow I've started to ramble. ;) I really prefer SVN over CVS. ;) But I'm not too picky. We are more than happy to host on TechGame -- our current structure is SVN and Trac, and you can see an example at http://techgame.net/projects/ framework. But if we end up hosting under ctypes or pythonce, I'll be just as happy. A place to start working in is the important part. Thanks, -Shane On Feb 14, 2006, at 14:06, Thomas Heller wrote: > I haven't taken a detailed look at the code, but it may be useful ;-). > I'm currently hacking a little bit with distutils to integrate win CE > support into the ctypes setup script so that it is easier to transfer > the code to the pda. > > IMO modules like these should have an official place in CVS or SVN > somewhere, > so that they can be installed and used by others - standalone files > that everyone > installes in his own private directories isn't that useful. > > Since they are ctypes-based, the ctypes CVS repository on > sourceforge would be > a possible place, and a convenient one for me. Of course, other > places could be > good as well. What do you think? > > Thomas > > _______________________________________________ > PythonCE mailing list > PythonCE at python.org > http://mail.python.org/mailman/listinfo/pythonce From theller at python.net Thu Feb 16 20:00:33 2006 From: theller at python.net (Thomas Heller) Date: Thu, 16 Feb 2006 20:00:33 +0100 Subject: [PythonCE] ceFile.py implementing basic file-like interface In-Reply-To: <3C89F304-74AF-4512-B5CE-B7FF55D64703@ieee.org> References: <86641FA7-E435-4254-962D-229F91484997@ieee.org> <3C89F304-74AF-4512-B5CE-B7FF55D64703@ieee.org> Message-ID: <43F4CBD1.1090105@python.net> > On Feb 14, 2006, at 14:06, Thomas Heller wrote: > >> I haven't taken a detailed look at the code, but it may be useful >> ;-). I'm currently hacking a little bit with distutils to integrate >> win CE support into the ctypes setup script so that it is easier to >> transfer the code to the pda. >> >> IMO modules like these should have an official place in CVS or SVN >> somewhere, so that they can be installed and used by others - >> standalone files that everyone installes in his own private >> directories isn't that useful. >> >> Since they are ctypes-based, the ctypes CVS repository on >> sourceforge would be a possible place, and a convenient one for me. >> Of course, other places could be good as well. What do you think? >> >> Thomas >> Shane Holloway (IEEE) wrote: > Yes, I saw your new ctypes version for CE. Very excited. > Unfortunately we are stuck in .NET land for a few near-term releases. > I just can't wait to switch over to using python on this platform. > Ctypes will certainly help us get there! > > As for common modules, I certainly agree that they need a common > place to live. I would expect them to be somewhere like the PythonCE > project on SourceForge or some other central area. I don't really > like the idea of multi-purposing the ctypes repository with CE stuff > for much the same reasons as I did not care for the comtypes being in > there. You may have heard that ctypes will be included in Python 2.5 (yay!). I think this will lead to a split between 'core ctypes' and ctypes based modules and packages (even if ctypes will further be maintained in the SF CVS repo). comtypes is such a package, and it is convenient for me to have it in the same repository. For ctypes itself, I want, and have already started, to extend the ctypes and comtypes setup scripts so that both packages can be build, transferred to the pda, and possibly even tested with some arguments to the setup script. What I need for that is a very limited subset of the rapi functionality, and this should certainly be in the ctypes CVS - even if it is ripped off some 'official' rapi module. > The RAPI interfaces are just one of the things I'd like to > see in this common repository, and I know everyone else has expressed > similar sentiments. We will really need a good .NET bridge for the > compact framework eventually. Hopefully we will be able to build > that atop ctypes -- but I'm starting to think we are going to need to > use a combination of OpenNETCF.org 2.0 Framework as well as the .NET > 2.0 CF to get things to approach what Zope has implemented for the > desktop. Anyhow I've started to ramble. ;) > > I really prefer SVN over CVS. ;) But I'm not too picky. We are > more than happy to host on TechGame -- our current structure is SVN > and Trac, and you can see an example at > http://techgame.net/projects/framework. But if we end up hosting > under ctypes or pythonce, I'll be just as happy. A place to start > working in is the important part. I'm a beginner with SVN but have used CVS for quite some years now, so I have no preference currently although I'm convinced SVN is better. I'm not opposed to hosting at techgame. Same for ctypes CVS, same for PythonCe, or whatever. I'll be happy to bring in my ctypes expertise to a rapi module, and that's it. Thomas From jeff_barish at earthlink.net Thu Feb 16 23:07:49 2006 From: jeff_barish at earthlink.net (Jeffrey Barish) Date: Thu, 16 Feb 2006 15:07:49 -0700 Subject: [PythonCE] Spinner In-Reply-To: References: Message-ID: <200602161507.49754.jeff_barish@earthlink.net> Your suggestion solved the problem. I am in awe of your erudition. Is there documentation on this module? I am wondering whether it is capable of additional magic about which I should know more. Here are more questions for the list that I think are esoteric: I intend that the PDA run only my application. Is there a way to run a program so that it consumes the entire screen (without all the Microsoft stuff at the top)? Also, what is the best way to get the program to run automatically when the PDA reboots? On Thursday 16 February 2006 04:00, pythonce-request at python.org wrote: > Message: 1 > Date: Wed, 15 Feb 2006 20:24:39 +0800 > From: "Luke Dunstan" > Subject: Re: [PythonCE] Spinner > To: > Message-ID: > Content-Type: text/plain; format=flowed; charset="iso-8859-1"; > ????????reply-type=original > > > This happens in GUI applications because the PythonCE shell thinks that the > program is busy even though it may simply be in a message loop. One way to > get rid of the wait cursor is: > > ? ? import _pcceshell_support > ? ? _pcceshell_support.Busy(0) > > > Luke > > ----- Original Message ----- > From: "Jeffrey Barish" > To: > Sent: Wednesday, February 15, 2006 7:42 AM > Subject: [PythonCE] Spinner > > > Does anyone know why I get the spinner over any Python application that I > > run? > > The application seems to be running fine even though I am supposed to > > wait for something. > > -- > > Jeffrey Barish > > _______________________________________________ > > PythonCE mailing list > > PythonCE at python.org > > http://mail.python.org/mailman/listinfo/pythonce -- Jeffrey Barish From ke7fxl at gmail.com Fri Feb 17 03:09:47 2006 From: ke7fxl at gmail.com (Tod Haren) Date: Thu, 16 Feb 2006 18:09:47 -0800 Subject: [PythonCE] Fwd: Spinner In-Reply-To: <6f5b2c4e0602161808i461b502ep5f070f79f5077b9b@mail.gmail.com> References: <200602161507.49754.jeff_barish@earthlink.net> <6f5b2c4e0602161808i461b502ep5f070f79f5077b9b@mail.gmail.com> Message-ID: <6f5b2c4e0602161809i6fd6a830v18ff6f112e8d79fb@mail.gmail.com> There is a \windows\startup folder. Putting a shortcut in there should do the trick for starting an app on reboot. I've also read that there are hacks you can do to run the PPC in kiosk mode. On 2/16/06, Jeffrey Barish wrote: >... > Also, what is the best way to get the program to run automatically when the > PDA reboots? > From coder_infidel at hotmail.com Fri Feb 17 18:01:32 2006 From: coder_infidel at hotmail.com (Luke Dunstan) Date: Sat, 18 Feb 2006 01:01:32 +0800 Subject: [PythonCE] Spinner References: <200602161507.49754.jeff_barish@earthlink.net> Message-ID: I am not aware of documentation on _pcceshell_support, and to be honest I only discovered it in the PythonCE source code because you asked the question. Previously I had worked around the problem using SetCursor() but this is a cleaner solution. Actually this module is designed to be used internally by PythonCE but it could still be useful. For the benefit of the mailing list, I will describe what I can see in the code. It has the following methods: Terminate() - exits PythonCE immediately write(text) - writes a string to the output window flush() - flushes buffered data to the output window Busy(busyFlag) - changes whether the wait cursor is displayed Wait() - waits for either the application to be closed (returns 0) or for console input to become available (returns 1) Get_Input_Text() - returns the text entered at the prompt Character_Input(ordinal) - sends a character to the output window Get_Edit_Window_Line(lineNum) - returns the text on the specified line of the output window As for taking control of the whole screen, I see that there is an API SHFullScreen() described in the Microsoft documentation that probably does what you want. To use this from PythonCE you would need to either use ctypes or write a Python extension module. ctypes was just released: http://sourceforge.net/project/showfiles.php?group_id=71702 I haven't actually tried this release yet but I've used slightly earlier versions of ctypes from CVS so I'm sure it will work (assuming you are using 2.3.5). Luke ----- Original Message ----- From: "Jeffrey Barish" To: Sent: Friday, February 17, 2006 6:07 AM Subject: Re: [PythonCE] Spinner Your suggestion solved the problem. I am in awe of your erudition. Is there documentation on this module? I am wondering whether it is capable of additional magic about which I should know more. Here are more questions for the list that I think are esoteric: I intend that the PDA run only my application. Is there a way to run a program so that it consumes the entire screen (without all the Microsoft stuff at the top)? Also, what is the best way to get the program to run automatically when the PDA reboots? On Thursday 16 February 2006 04:00, pythonce-request at python.org wrote: > Message: 1 > Date: Wed, 15 Feb 2006 20:24:39 +0800 > From: "Luke Dunstan" > Subject: Re: [PythonCE] Spinner > To: > Message-ID: > Content-Type: text/plain; format=flowed; charset="iso-8859-1"; > reply-type=original > > > This happens in GUI applications because the PythonCE shell thinks that > the > program is busy even though it may simply be in a message loop. One way to > get rid of the wait cursor is: > > import _pcceshell_support > _pcceshell_support.Busy(0) > > > Luke > > ----- Original Message ----- > From: "Jeffrey Barish" > To: > Sent: Wednesday, February 15, 2006 7:42 AM > Subject: [PythonCE] Spinner > > > Does anyone know why I get the spinner over any Python application that > > I > > run? > > The application seems to be running fine even though I am supposed to > > wait for something. > > -- > > Jeffrey Barish > > _______________________________________________ > > PythonCE mailing list > > PythonCE at python.org > > http://mail.python.org/mailman/listinfo/pythonce -- Jeffrey Barish _______________________________________________ PythonCE mailing list PythonCE at python.org http://mail.python.org/mailman/listinfo/pythonce From dan2cil at tin.it Fri Feb 17 20:57:22 2006 From: dan2cil at tin.it (dan2cil) Date: Fri, 17 Feb 2006 20:57:22 +0100 Subject: [PythonCE] Database In-Reply-To: References: Message-ID: Which database is possible to use with Python CE? Thank Danilo From gpetruc at gmail.com Sun Feb 19 09:43:20 2006 From: gpetruc at gmail.com (Giovanni Petrucciani) Date: Sun, 19 Feb 2006 09:43:20 +0100 Subject: [PythonCE] Database In-Reply-To: References: Message-ID: <43F82FA8.7050202@gmail.com> dan2cil wrote: >Which database is possible to use with Python CE? > > SQlite works; the only caveat is that you have to load two dlls (the sqlite dll and the c part of the pysqlite module), and so it consumes some memory You can get a binary build of sqlite on http://area51.sns.it/users/giovanni/python/ Giovanni From pdemb at gazeta.pl Sun Feb 19 11:13:03 2006 From: pdemb at gazeta.pl (Peter Dembinski) Date: Sun, 19 Feb 2006 11:13:03 +0100 Subject: [PythonCE] Database In-Reply-To: <43F82FA8.7050202@gmail.com> References: <43F82FA8.7050202@gmail.com> Message-ID: > dan2cil wrote: > >> Which database is possible to use with Python CE? >> >> > SQlite works; I am curious whether Oracle version for PocketPCs works with Python too (for example, via ODBC). From dario at ita.chalmers.se Sun Feb 19 21:26:52 2006 From: dario at ita.chalmers.se (=?ISO-8859-1?Q?Dario_Lopez-K=E4sten?=) Date: Sun, 19 Feb 2006 21:26:52 +0100 Subject: [PythonCE] Database In-Reply-To: References: <43F82FA8.7050202@gmail.com> Message-ID: <43F8D48C.8060500@ita.chalmers.se> Peter Dembinski said the following on 2006-02-19 11:13: >>dan2cil wrote: >> >> >>>Which database is possible to use with Python CE? >>> >>> >> >>SQlite works; > > > I am curious whether Oracle version for PocketPCs works with Python too > (for example, via ODBC). you'd have to get some odbc adapter for python working, i.e mxODBC. Not sure if any attempt has been done to port them. /dario -- -- ------------------------------------------------------------------- Dario Lopez-K?sten, IT Systems & Services Chalmers University of Tech. Lyrics applied to programming & application design: "emancipate yourself from mental slavery" - redemption song, b. marley From jeff_barish at earthlink.net Tue Feb 21 17:18:32 2006 From: jeff_barish at earthlink.net (Jeffrey Barish) Date: Tue, 21 Feb 2006 09:18:32 -0700 Subject: [PythonCE] Warning about comctl32.dll Message-ID: <200602210918.32272.jeff_barish@earthlink.net> Some of my applications are now triggering a warning when they first start running that reads: Please install a newer version of comctl32.dll (at least version 4.70 is required but you have 0.00) or the program won't operate correctly. I don't have comctl32.dll anywhere I looked (such as the Windows folder) -- which might be why I have version 0.00. I have not detected a pattern in which programs trigger the warning and which don't. Also, I may be delusional but I think that programs that are generating the warning now did not always do so. Any thoughts? -- Jeffrey Barish From coder_infidel at hotmail.com Wed Feb 22 13:08:31 2006 From: coder_infidel at hotmail.com (Luke Dunstan) Date: Wed, 22 Feb 2006 20:08:31 +0800 Subject: [PythonCE] Warning about comctl32.dll References: <200602210918.32272.jeff_barish@earthlink.net> Message-ID: ----- Original Message ----- From: "Jeffrey Barish" To: Sent: Wednesday, February 22, 2006 12:18 AM Subject: [PythonCE] Warning about comctl32.dll > Some of my applications are now triggering a warning when they first start > running that reads: > > Please install a newer version of comctl32.dll (at least version 4.70 is > required but you have 0.00) or the program won't operate correctly. If I search for this message on Google it appears only in wxWidgets source code, so I suggest you ask on their mailing list. Luke > > I don't have comctl32.dll anywhere I looked (such as the Windows > folder) -- > which might be why I have version 0.00. I have not detected a pattern in > which programs trigger the warning and which don't. Also, I may be > delusional but I think that programs that are generating the warning now > did > not always do so. Any thoughts? > -- > Jeffrey Barish > _______________________________________________ > PythonCE mailing list > PythonCE at python.org > http://mail.python.org/mailman/listinfo/pythonce > From kitsune_e at yahoo.com Thu Feb 23 23:44:36 2006 From: kitsune_e at yahoo.com (Ed Blake) Date: Thu, 23 Feb 2006 14:44:36 -0800 (PST) Subject: [PythonCE] IdleCE Message-ID: <20060223224436.45438.qmail@web50211.mail.yahoo.com> I've finally gotten irritated enough to fix some of the problems with the last version of IdleCE. I disabled coloring triple quotes because the solution I came up with was mind-numbingly slow on large docs, and still didn't work in all cases. I also fixed problems block operations (indent/dedent/comment/uncomment region), it just got messed up when I sepperated the editor from the colorizing text widget. Lastly I added a hack which might catch garbage characters from the soft input panel. Download here: http://kitsu.petesdomain.com/files/WinCE/IdleCE-2.0.zip Leo file: http://kitsu.petesdomain.com/files/WinCE/IdleCE.leo Also I got tired of the default windows icon on all my scripts so I hacked this out of the PythonCE setup script (i.e. I used the setup script as a starting point, this script only sets up the icon, not file associations). To use it you need to edit the path to reflect your PythonCE install directory. http://kitsu.petesdomain.com/files/WinCE/setup-icon.py Let me know if anything's busted... From jeff_barish at earthlink.net Fri Feb 24 04:03:13 2006 From: jeff_barish at earthlink.net (Jeffrey Barish) Date: Thu, 23 Feb 2006 20:03:13 -0700 Subject: [PythonCE] Unicode default encoding Message-ID: <200602232003.13940.jeff_barish@earthlink.net> What is the correct way to set PythonCE's default Unicode encoding? My reading (Python in a Nutshell) indicates that I am supposed to make a change to site.py, but there doesn't seem to be a site.py in PythonCE. (The closest I came is a site.pyc in python23.zip.) Nutshell suggests that in desperation one could put the following at the start of the main script: import sys reload(sys) sys.setdefaultencoding('iso-8859-15') del sys.setdefaultencoding This code solved the problem I was having reading and processing text that contains Unicode characters, but I am uncomfortable leaving a desperation solution in place. -- Jeffrey Barish From jeff_barish at earthlink.net Fri Feb 24 04:08:52 2006 From: jeff_barish at earthlink.net (Jeffrey Barish) Date: Thu, 23 Feb 2006 20:08:52 -0700 Subject: [PythonCE] Running Python program without getting Python CE window Message-ID: <200602232008.52975.jeff_barish@earthlink.net> Whenever I run a Python application, I get a window titled "Python CE" that seems to capture stdout. Is it called the console? I would like to run my application without getting that window. I had the impression that this window would not appear if I ran the application using pythonw. To that end, I changed the first line of my application to #! /usr/bin/env pythonw (instead of /usr/bin/env/python). Changing this line has no effect in either CE or XP. What is the correct procedure? -- Jeffrey Barish From jeff_barish at earthlink.net Fri Feb 24 04:31:30 2006 From: jeff_barish at earthlink.net (Jeffrey Barish) Date: Thu, 23 Feb 2006 20:31:30 -0700 Subject: [PythonCE] Attaching an icon to my application Message-ID: <200602232031.30846.jeff_barish@earthlink.net> What is the procedure for attaching an icon to my application so that I can run the application by tapping the icon? -- Jeffrey Barish From javirosa at eden.rutgers.edu Fri Feb 24 18:13:27 2006 From: javirosa at eden.rutgers.edu (javirosa at eden.rutgers.edu) Date: Fri, 24 Feb 2006 12:13:27 -0500 (EST) Subject: [PythonCE] PythonCE Digest, Vol 31, Issue 16 In-Reply-To: References: Message-ID: <4498.172.23.105.248.1140801207.squirrel@webmail.eden.rutgers.edu> Thanks for the work! > I've finally gotten irritated enough to fix some of the problems with the > last version of IdleCE. I disabled coloring triple quotes because the > solution I came up with was mind-numbingly slow on large docs, and still > didn't work in all cases. I also fixed problems block operations > (indent/dedent/comment/uncomment region), it just got messed up when I > sepperated the editor from the colorizing text widget. Lastly I added a > hack > which might catch garbage characters from the soft input panel. > > Download here: http://kitsu.petesdomain.com/files/WinCE/IdleCE-2.0.zip > Leo file: http://kitsu.petesdomain.com/files/WinCE/IdleCE.leo > > Also I got tired of the default windows icon on all my scripts so I hacked > this out of the PythonCE setup script (i.e. I used the setup script as a > starting point, this script only sets up the icon, not file associations). > To use it you need to edit the path to reflect your PythonCE install > directory. > http://kitsu.petesdomain.com/files/WinCE/setup-icon.py > > Let me know if anything's busted... From javirosa at eden.rutgers.edu Fri Feb 24 18:31:35 2006 From: javirosa at eden.rutgers.edu (javirosa at eden.rutgers.edu) Date: Fri, 24 Feb 2006 12:31:35 -0500 (EST) Subject: [PythonCE] running Python program without getting Python CE Message-ID: <4660.172.23.105.248.1140802295.squirrel@webmail.eden.rutgers.edu> I'm not sure how to fix your problem though. AFAIK I always thought that the #! /usr/bin/env pythonw was for use by the shell on unix systems to determine what interpreter to use. I don't think that is a platform independent function. Perhaps there is some functionality where you can change the output from std to something else. > Message: 3 > Date: Thu, 23 Feb 2006 20:08:52 -0700 > From: Jeffrey Barish > Subject: [PythonCE] Running Python program without getting Python CE > window > To: pythonce at python.org > Message-ID: <200602232008.52975.jeff_barish at earthlink.net> > Content-Type: text/plain; charset="us-ascii" > > Whenever I run a Python application, I get a window titled "Python CE" > that > seems to capture stdout. Is it called the console? I would like to run > my > application without getting that window. I had the impression that this > window would not appear if I ran the application using pythonw. To that > end, > I changed the first line of my application to > > #! /usr/bin/env pythonw > > (instead of /usr/bin/env/python). Changing this line has no effect in > either > CE or XP. What is the correct procedure? > -- > Jeffrey Barish From coder_infidel at hotmail.com Sat Feb 25 18:22:50 2006 From: coder_infidel at hotmail.com (Luke Dunstan) Date: Sun, 26 Feb 2006 01:22:50 +0800 Subject: [PythonCE] Running Python program without getting Python CE window References: <200602232008.52975.jeff_barish@earthlink.net> Message-ID: ----- Original Message ----- From: "Jeffrey Barish" To: Sent: Friday, February 24, 2006 11:08 AM Subject: [PythonCE] Running Python program without getting Python CE window > Whenever I run a Python application, I get a window titled "Python CE" > that > seems to capture stdout. Is it called the console? I would like to run > my > application without getting that window. I had the impression that this > window would not appear if I ran the application using pythonw. To that > end, > I changed the first line of my application to > > #! /usr/bin/env pythonw > > (instead of /usr/bin/env/python). Changing this line has no effect in > either > CE or XP. What is the correct procedure? As somebody else mentioned, that is a Unix-specific feature. In Windows XP you can rename the file to .pyw to run it automatically with pythonw.exe. On Windows CE there is no standard way but this might help: python /nopcceshell program.py Luke From jeff_barish at earthlink.net Sat Feb 25 23:43:52 2006 From: jeff_barish at earthlink.net (Jeffrey Barish) Date: Sat, 25 Feb 2006 15:43:52 -0700 Subject: [PythonCE] Unicode default encoding Message-ID: <200602251543.52197.jeff_barish@earthlink.net> What is the correct way to set PythonCE's default Unicode encoding? My reading (Python in a Nutshell) indicates that I am supposed to make a change to site.py, but there doesn't seem to be a site.py in PythonCE. (The closest I came is a site.pyc in python23.zip.) Nutshell suggests that in desperation one could put the following at the start of the main script: import sys reload(sys) sys.setdefaultencoding('iso-8859-15') del sys.setdefaultencoding This code solved the problem I was having reading and processing text that contains Unicode characters, but I am uncomfortable leaving a desperation solution in place. -- Jeffrey Barish From coder_infidel at hotmail.com Sun Feb 26 06:44:09 2006 From: coder_infidel at hotmail.com (Luke Dunstan) Date: Sun, 26 Feb 2006 13:44:09 +0800 Subject: [PythonCE] Unicode default encoding References: <200602232003.13940.jeff_barish@earthlink.net> Message-ID: ----- Original Message ----- From: "Jeffrey Barish" To: Sent: Friday, February 24, 2006 11:03 AM Subject: [PythonCE] Unicode default encoding > What is the correct way to set PythonCE's default Unicode encoding? My > reading (Python in a Nutshell) indicates that I am supposed to make a > change > to site.py, but there doesn't seem to be a site.py in PythonCE. (The > closest > I came is a site.pyc in python23.zip.) Nutshell suggests that in > desperation > one could put the following at the start of the main script: > > import sys > reload(sys) > sys.setdefaultencoding('iso-8859-15') > del sys.setdefaultencoding > > This code solved the problem I was having reading and processing text that > contains Unicode characters, but I am uncomfortable leaving a desperation > solution in place. > -- > Jeffrey Barish I don't think modifying site.py would be a good solution, because if you upgrade or reinstall python then the script will be overwritten. If you only want to run your program on your own system then a better solution is to create a file sitecustomize.py in your Python\Lib directory containing this: import sys sys.setdefaultencoding('iso-8859-15') If you want to distribute your program to other people though, you can't expect them to change their default encoding so it is better not to rely on the default encoding at all. Luke From fuzzyman at voidspace.org.uk Sun Feb 26 11:20:14 2006 From: fuzzyman at voidspace.org.uk (Michael Foord) Date: Sun, 26 Feb 2006 10:20:14 +0000 Subject: [PythonCE] Unicode default encoding In-Reply-To: References: <200602232003.13940.jeff_barish@earthlink.net> Message-ID: <440180DE.6030104@voidspace.org.uk> Luke Dunstan wrote: > ----- Original Message ----- > From: "Jeffrey Barish" > To: > Sent: Friday, February 24, 2006 11:03 AM > Subject: [PythonCE] Unicode default encoding > > > >> What is the correct way to set PythonCE's default Unicode encoding? My >> reading (Python in a Nutshell) indicates that I am supposed to make a >> change >> to site.py, but there doesn't seem to be a site.py in PythonCE. (The >> closest >> I came is a site.pyc in python23.zip.) Nutshell suggests that in >> desperation >> one could put the following at the start of the main script: >> >> import sys >> reload(sys) >> sys.setdefaultencoding('iso-8859-15') >> del sys.setdefaultencoding >> >> This code solved the problem I was having reading and processing text that >> contains Unicode characters, but I am uncomfortable leaving a desperation >> solution in place. >> -- >> Jeffrey Barish >> > > I don't think modifying site.py would be a good solution, because if you > upgrade or reinstall python then the script will be overwritten. If you only > want to run your program on your own system then a better solution is to > create a file sitecustomize.py in your Python\Lib directory containing this: > > import sys > sys.setdefaultencoding('iso-8859-15') > > If you want to distribute your program to other people though, you can't > expect them to change their default encoding so it is better not to rely on > the default encoding at all. > > Yep, using unicode and explicitly encoding/decoding is a better approach. Fuzzyman http://www.voidspace.org.uk/python/index.shtml > Luke > _______________________________________________ > PythonCE mailing list > PythonCE at python.org > http://mail.python.org/mailman/listinfo/pythonce > >