From Sinack@charter.net Sun Jun 2 17:28:25 2002 From: Sinack@charter.net (Sinack) Date: Sun, 2 Jun 2002 09:28:25 -0700 Subject: [PythonCE] Pythonce on ipaq? Message-ID: well so far ive seen very little of htis project except an archive(a = single archive of core modules) and have not seen any info on using = Pythonce on and arm based device...is there such a beast or a website = that goes into any detail on how to implement this? If so could someone = please post it because I cant even find anything on goggle except this = list and this is my favorite language. Thanks....Sinack From gollem@chatway.nl Wed Jun 12 22:02:19 2002 From: gollem@chatway.nl (x x) Date: Wed, 12 Jun 2002 14:02:19 -0700 (PDT) Subject: [PythonCE] Strange error Message-ID: <20020612210219.BAD2B2756@sitemail.everyone.net> Hi all, I've discovered pythonce and like it, unfortunately I'm a newbie coder so bear with me. I've installed Python on my ipaq 3630, pocketpc (winCE 3.0) with these paths. My Device\Program Files\Python My Device\Program Files\Python\Lib It sorta works, I can do calculations and stuff like that but when I type: x = int (raw_input ("enter an integer: ")) I get: enter an integer: Traceback (most recent call last): File "\Program Files\Python\lib\pcceshell.py", line 457, exec codeOb in locals EOFError: EOF when reading a line If I run the same line in python on my NT4 box it's no problem. Anyone who can clue me in? _____________________________________________________________ Sign up for FREE email Chatway.nl at http://www.chatway.nl _____________________________________________________________ Promote your group and strengthen ties to your members with email@yourgroup.org by Everyone.net http://www.everyone.net/?btn=tag From gollem@chatway.nl Wed Jun 12 22:11:11 2002 From: gollem@chatway.nl (gollem) Date: Wed, 12 Jun 2002 14:11:11 -0700 (PDT) Subject: [PythonCE] (no subject) Message-ID: <20020612211111.2B1C32756@sitemail.everyone.net> Sinack, I've been looking to but I can't find stuff explicitly for pythonce. The docs for regular python are very good but perhaps pythonce is too new. If you find anything please post it. _____________________________________________________________ Sign up for FREE email Chatway.nl at http://www.chatway.nl _____________________________________________________________ Promote your group and strengthen ties to your members with email@yourgroup.org by Everyone.net http://www.everyone.net/?btn=tag From bkc@murkworks.com Wed Jun 12 22:33:03 2002 From: bkc@murkworks.com (Brad Clements) Date: Wed, 12 Jun 2002 17:33:03 -0400 Subject: [PythonCE] Strange error In-Reply-To: <20020612210219.BAD2B2756@sitemail.everyone.net> Message-ID: <3D078094.2914.1A5BED02@localhost> On 12 Jun 2002 at 14:02, x x wrote: > x = int (raw_input ("enter an integer: ")) > > I get: > > enter an integer: Traceback (most recent call last): > File "\Program Files\Python\lib\pcceshell.py", line 457, > exec codeOb in locals > EOFError: EOF when reading a line > > > If I run the same line in python on my NT4 box it's no problem. > Anyone who can clue me in? You're running it in console mode on NT. Pocket PC doesn't have a console, so it doesn't work. Use win32gui to create a dialog.. Brad Clements, bkc@murkworks.com (315)268-1000 http://www.murkworks.com (315)268-9812 Fax AOL-IM: BKClements From gollem@chatway.nl Wed Jun 12 22:13:09 2002 From: gollem@chatway.nl (gollem) Date: Wed, 12 Jun 2002 14:13:09 -0700 (PDT) Subject: [PythonCE] re: docs for pythonce Message-ID: <20020612211309.D0A1C2755@sitemail.everyone.net> Sinack, I've been looking to but I can't find stuff explicitly for pythonce. The docs for regular python are very good but perhaps pythonce is too new. If you find anything please post it. By the way, is there a specific program I should use for posting and reading? _____________________________________________________________ Sign up for FREE email Chatway.nl at http://www.chatway.nl _____________________________________________________________ Promote your group and strengthen ties to your members with email@yourgroup.org by Everyone.net http://www.everyone.net/?btn=tag From bkc@murkworks.com Wed Jun 12 22:44:33 2002 From: bkc@murkworks.com (Brad Clements) Date: Wed, 12 Jun 2002 17:44:33 -0400 Subject: [PythonCE] Strange error In-Reply-To: <20020612211850.C9A1F36FA@sitemail.everyone.net> Message-ID: <3D078346.14615.1A6674CC@localhost> On 12 Jun 2002 at 14:18, gollem wrote: > Do you mean pythonce doesn't have an interactive mode? No, I mean that in Pythonce (at least for the iPaq), the "interactive mode" is done using a windows dialog box.. There isn't a "console" (a console is like a DOS or cmd window on win32, or telnet'ing to unix) > Like I said I'm a newbie coder. Maybe I should get more experience on a regular box first? Wouldn't hurt to play with pythonwin Brad Clements, bkc@murkworks.com (315)268-1000 http://www.murkworks.com (315)268-9812 Fax AOL-IM: BKClements From gollem@chatway.nl Thu Jun 13 12:40:13 2002 From: gollem@chatway.nl (gollem) Date: Thu, 13 Jun 2002 04:40:13 -0700 (PDT) Subject: [PythonCE] How to start a script? Message-ID: <20020613114013.5C665274E@sitemail.everyone.net> How can I start a script on my ipaq? Pythonce starts from the startmenu so I can't pass any arguments. There is no command prompt either. It would be pretty useless if it was impossible so what solution do you have for this? _____________________________________________________________ Sign up for FREE email Chatway.nl at http://www.chatway.nl _____________________________________________________________ Promote your group and strengthen ties to your members with email@yourgroup.org by Everyone.net http://www.everyone.net/?btn=tag From bkc@murkworks.com Thu Jun 13 14:09:04 2002 From: bkc@murkworks.com (Brad Clements) Date: Thu, 13 Jun 2002 09:09:04 -0400 Subject: [PythonCE] How to start a script? In-Reply-To: <20020613114013.5C665274E@sitemail.everyone.net> Message-ID: <3D085BF1.311.1DB4E035@localhost> Please check the readme in the ipaq ce release zip, or check the archives of this list. I know I posted how to do this, but forgot the details and I'm not in the office today. also you can look in pcceshell.py for hints (bottom I think) its Pocket PC Python /start .... or some kind of / thing.. On 13 Jun 2002 at 4:40, gollem wrote: From: gollem To: pythonce@python.org Send reply to: gollem@chatway.nl Subject: [PythonCE] How to start a script? Date sent: Thu, 13 Jun 2002 04:40:13 -0700 (PDT) > How can I start a script on my ipaq? Pythonce starts from the startmenu so I can't pass any arguments. > There is no command prompt either. It would be pretty useless if it was impossible so what solution do you have for this? > > _____________________________________________________________ > Sign up for FREE email Chatway.nl at http://www.chatway.nl > > _____________________________________________________________ > Promote your group and strengthen ties to your members with email@yourgroup.org by Everyone.net http://www.everyone.net/?btn=tag > > > _______________________________________________ > PythonCE mailing list > PythonCE@python.org > http://mail.python.org/mailman/listinfo/pythonce Brad Clements, bkc@murkworks.com (315)268-1000 http://www.murkworks.com (315)268-9812 Fax AOL-IM: BKClements From g.schwant@gmx.de Thu Jun 13 22:24:02 2002 From: g.schwant@gmx.de (Gunnar Schwant) Date: Thu, 13 Jun 2002 23:24:02 +0200 (MEST) Subject: [PythonCE] Re: How to start a script? Message-ID: <16808.1024003442@www62.gmx.net> Gollem, As far as I can remember I did this using the run command of my PocketPC. Unfortunately, my PocketPC is one of the many Cassiopeias which lost their backlight within the first three months of their short lifes. It's in the hospital now. Thus I can't check it right now and tell you more details. However, you can find a description of the run command at http://www.microsoft.com/mobile/pocketpc/tips/run.asp Best regards, Gunnar. -- GMX - Die Kommunikationsplattform im Internet. http://www.gmx.net From gollem@chatway.nl Fri Jun 14 19:49:46 2002 From: gollem@chatway.nl (gollem) Date: Fri, 14 Jun 2002 11:49:46 -0700 (PDT) Subject: [PythonCE] How to start a script? Message-ID: <20020614184946.482152756@sitemail.everyone.net> Chet, tanks for the reply. I'm not sure if one of the programs I have installed makes it impossible to access the run command or if it's because it's Pocketpc 2000. I have found a way to run scripts though. If you install pockettweak you can associate filetypes with applications. I have associated .py with python. Python does not like paths like "My Documents\python", I don't know if that's because of the length or the fact that there is a space in it. I've created a root folder \x (I'm too lazy to type long paths) and I put my scripts there. I use pocketnotepad to write the scripts. It stubbornly saves all new files with the .txt extension but I fixed that by just creating some empty files with the .py extension on my desktop and copying them to \x If I open one of these in notepad, edit it and save then it keeps the .py extension and stays in \x (the editor won't let me save new documents outside of my documents) That's all, if I choose open for a .py file pocketpython starts and the script is run. I hope this is usefull for some people. --- "Chet R Biggerstaff" wrote: >Write your script in notepad (for the ipaq....gregs ipaq page.....has one t= >hat has all the features as its windows counterpart)and save it as a .py.th= >en use the run command to exicure it (and yes the ipaq has a run command ..= >.instructions follow .... > >1. Hold down the action button.... >2. While holding the action button down tap and hold at the top right corne= >r of your ipaq screen (on the time) this brings up a run option similar to = >a dos prompt. > >Now i have not tried this yet but the only problem i might forsee is that t= >h .py extension is not associated with the pythonce executible. But that sh= >ould not be hard to fix.....let me know how it goes. > Sinack > >-----Original Message----- > >From: "gollem" > >Sent: 6/13/02 4:40:13 AM > >To: "pythonce@python.org" > >Subject: [PythonCE] How to start a script? > >How can I start a script on my ipaq? Pythonce starts from the startme= >nu so I can't pass any arguments. > >There is no command prompt either. It would be pretty useless if it was= > impossible so what solution do you have for this? > > > >_____________________________________________________________ > >Sign up for FREE email Chatway.nl at http://www.chatway.nl > > > >_____________________________________________________________ > >Promote your group and strengthen ties to your members with email@yourg= >roup.org by Everyone.net http://www.everyone.net/?btn=3Dtag > > > > > >_______________________________________________ > >PythonCE mailing list > >PythonCE@python.org > >http://mail.python.org/mailman/listinfo/pythonce > > _____________________________________________________________ Sign up for FREE email Chatway.nl at http://www.chatway.nl _____________________________________________________________ Promote your group and strengthen ties to your members with email@yourgroup.org by Everyone.net http://www.everyone.net/?btn=tag From chris@psychofx.com Sat Jun 15 20:44:37 2002 From: chris@psychofx.com (Chris Miles) Date: Sun, 16 Jun 2002 05:44:37 +1000 Subject: [PythonCE] How to start a script? In-Reply-To: <20020614184946.482152756@sitemail.everyone.net>; from gollem@chatway.nl on Fri, Jun 14, 2002 at 11:49:46AM -0700 References: <20020614184946.482152756@sitemail.everyone.net> Message-ID: <20020616054437.A30812@psychofx.com> That is good information. Although I installed VIM for CE as my editor. One question, though. I installed pythonce on my Storage Card (CF) but it doesn't seem to want to run if it isn't installed in internal storage. Is there a way around this? Finally, the 'run' command does not show up on mine either - perhaps because I'm running wisbar? Regards, Chris On Fri, Jun 14, 2002 at 11:49:46AM -0700, gollem wrote: > Chet, tanks for the reply. I'm not sure if one of the > programs I have installed makes it impossible to access > the run command or if it's because it's Pocketpc 2000. > > I have found a way to run scripts though. > If you install pockettweak you can associate filetypes > with applications. I have associated .py with python. > > Python does not like paths like "My Documents\python", > I don't know if that's because of the length or the fact > that there is a space in it. I've created a root folder > \x (I'm too lazy to type long paths) and I put my scripts > there. > I use pocketnotepad to write the scripts. It stubbornly > saves all new files with the .txt extension but I fixed > that by just creating some empty files with the .py > extension on my desktop and copying them to \x > If I open one of these in notepad, edit it and save then > it keeps the .py extension and stays in \x (the editor > won't let me save new documents outside of my documents) > > That's all, if I choose open for a .py file pocketpython > starts and the script is run. > I hope this is usefull for some people. -- Chris Miles chris@psychofx.com http://www.psychofx.com/chris/ From bkc@murkworks.com Sun Jun 16 18:32:28 2002 From: bkc@murkworks.com (Brad Clements) Date: Sun, 16 Jun 2002 13:32:28 -0400 Subject: [PythonCE] Strange error In-Reply-To: Message-ID: <3D0C8E1E.21028.2E1928EB@localhost> Please keep this on the list On 13 Jun 2002 at 21:03, Chet R Biggerstaff wrote: From: "Chet R Biggerstaff" To: Subject: Re: [PythonCE] Strange error Date sent: Thu, 13 Jun 2002 21:03:48 -0700 > How do you start win32gui? I get an error saying that there is no program > associated with this file and to run it first then open win32gui...how do i > do that? Tia Sinack win32gui is a python module. You import it from your python application. Play first with pythonwin on win32.. when your script works there with win32gui only, it will work on pythonce Brad Clements, bkc@murkworks.com (315)268-1000 http://www.murkworks.com (315)268-9812 Fax AOL-IM: BKClements From horst@freedict.de Mon Jun 17 05:11:03 2002 From: horst@freedict.de (horst@freedict.de) Date: Mon, 17 Jun 2002 06:11:03 +0200 (CEST) Subject: [PythonCE] LCMapString ? Message-ID: <200206170411.g5H4B6r00868@eaglesnest.mceggman> Hello, I do have bit of a problem. One of the (windows) applicatins I would like to use (Haali Reader) needs the dictionary entries to be converted with LCMapString / LCMAP_SORTKEY. I only do have Win95 installed, and wine does not appear to fully implement this function. So I wondered, if I could use PythonCE on my PocketPC to do the conversation. Alternativ suggestions on how to implement the LCMapString function or other small footprint replacements (in c++) are certainly welcome. Horst -- Horst@freedict.de Horst Eyermann Germany You need a dictionary? - visit http://www.freedict.de for free (GPL) dictionaries (unix; windows work in progress) For windows, visit http://www.freedict.de/wbuch A article (in German) about dictionary efforts on the net http://www.heise.de/tp/deutsch/inhalt/on/5927/1.html From gollem@chatway.nl Fri Jun 21 02:06:53 2002 From: gollem@chatway.nl (gollem) Date: Thu, 20 Jun 2002 18:06:53 -0700 (PDT) Subject: [PythonCE] test Message-ID: <20020621010653.9FAD236F9@sitemail.everyone.net> test _____________________________________________________________ Sign up for FREE email Chatway.nl at http://www.chatway.nl _____________________________________________________________ Promote your group and strengthen ties to your members with email@yourgroup.org by Everyone.net http://www.everyone.net/?btn=tag From gollem@chatway.nl Fri Jun 21 02:10:21 2002 From: gollem@chatway.nl (gollem) Date: Thu, 20 Jun 2002 18:10:21 -0700 (PDT) Subject: [PythonCE] (no subject) Message-ID: <20020621011021.96F2C2757@sitemail.everyone.net> Hi Gunnar, > My Casio is a Cassiopeia E-200 (StrongARM 206 MHz, 64 > MB, PPC2002)and checking the web I had to realize that > I am not the only onehaving trouble with the > backlight :( That's a good thing, it's a known problem so they can't blame you. > By the way, before I got into trouble with the > backlight I began to write an editor for PythonCE- > scripts which runs on any device > on which the Ewe Virtual Machine is installed. Sounds good, what is the Ewe vm? What are some of the advantages of your editor over regular text editors? > Please do not hesitate to > inform me if you want to be notified > once I have recompiled the editor for the Ewe VM 1.19. I think you can safely assume that most people on the list would like to know. _____________________________________________________________ Sign up for FREE email Chatway.nl at http://www.chatway.nl _____________________________________________________________ Promote your group and strengthen ties to your members with email@yourgroup.org by Everyone.net http://www.everyone.net/?btn=tag From gollem@chatway.nl Fri Jun 21 02:12:22 2002 From: gollem@chatway.nl (gollem) Date: Thu, 20 Jun 2002 18:12:22 -0700 (PDT) Subject: [PythonCE] storage card Message-ID: <20020621011222.EE8A62756@sitemail.everyone.net> Hi Chris, --- Chris Miles wrote: >That is good information. Although I installed VIM for CE as my editor. Where can this be found and what makes it a good choice? >One question, though. I installed pythonce on my Storage Card (CF) but >it doesn't seem to want to run if it isn't installed in internal >storage. Is there a way around this? I think I've seen a similar question in one of the previous months of this list. _____________________________________________________________ Sign up for FREE email Chatway.nl at http://www.chatway.nl _____________________________________________________________ Promote your group and strengthen ties to your members with email@yourgroup.org by Everyone.net http://www.everyone.net/?btn=tag From g.schwant@gmx.de Sat Jun 22 20:21:08 2002 From: g.schwant@gmx.de (g.schwant@gmx.de) Date: Sat, 22 Jun 2002 21:21:08 +0200 (MEST) Subject: [PythonCE] Editor Message-ID: <29715.1024773668@www20.gmx.net> Hi Everybody, I have published a text-editor suitable for mobile systems: PocketSnakeCharmer v2.00. People who are running Pocket PC Python can use this editor to edit their Python-scripts and launch them from within the editor. The "Run Python Script"-dialog of PocketSnakeCharmer v2.00 makes it easy to run Python-scripts and pass some extra arguments. Details, screenshots and free download at http://schwant.gmxhome.de (follow the link to PocketSnakeCharmer). Happy coding, Gunnar. -- GMX - Die Kommunikationsplattform im Internet. http://www.gmx.net From chris@psychofx.com Sun Jun 30 22:53:59 2002 From: chris@psychofx.com (Chris Miles) Date: Mon, 1 Jul 2002 07:53:59 +1000 Subject: [PythonCE] storage card In-Reply-To: <20020621011222.EE8A62756@sitemail.everyone.net>; from gollem@chatway.nl on Thu, Jun 20, 2002 at 06:12:22PM -0700 References: <20020621011222.EE8A62756@sitemail.everyone.net> Message-ID: <20020701075359.C22180@psychofx.com> On Thu, Jun 20, 2002 at 06:12:22PM -0700, gollem wrote: > --- Chris Miles wrote: > >That is good information. Although I installed VIM for CE as my editor. > > Where can this be found and what makes it a good choice? VIM (a variant of vi) is simply my editor of choice, so I was happy to find a version for wince. Find it, along with many other Unix-ported programs from: http://www.wince-devel.org/wince/dirlist.html Cheers, CM -- Chris Miles chris@psychofx.com http://www.psychofx.com/chris/