From bob@redivi.com Fri Aug 2 13:25:21 2002 From: bob@redivi.com (Bob Ippolito) Date: Fri, 2 Aug 2002 08:25:21 -0400 Subject: [PythonCE] Immediate need for a WinCE developer Message-ID: I'm not quite sure if this is against list rules.. but. I have an immediate need for a WinCE developer for a project on the Symbol PDA platform. I need someone versed with TCP/IP (currently we're using an XML socket protocol, compatible with Macromedia Flash. The PDA will be equipped with 802.11b.), GUI development, and capable of using the Symbol SDK for barcode input. The server component is in Python, the WinCE component can be developed in anything so long as it works well. Ideally the developer would be available to temporarily (or more permanently, if things work out particularly well) relocate to New York, NY (lower manhattan). I'm also open to outsourcing to a small company, but would prefer bringing a developer to work in-house for the term of the project. If anyone is interested and available, e-mail me a copy of your cv/resume and preferably some examples of previously developed WinCE applications. -- Bob Ippolito bob@mastersofbranding.com From bkc@murkworks.com Thu Aug 8 21:06:42 2002 From: bkc@murkworks.com (Brad Clements) Date: Thu, 08 Aug 2002 16:06:42 -0400 Subject: [PythonCE] Re: Python Won't Execute on iPAQ In-Reply-To: <3D53754A.5080408@slaspa.com> Message-ID: <3D5297FE.12865.9B69919A@localhost> On 9 Aug 2002 at 3:54, Melchoir Henry wrote: (copying to list for archives) > Help!! > > I have installed Python 2.2 on my iPAQ. Everything works fine when > testing in interactive mode. However, whenever I try to execute program > code stored in a folder, I get a trace back error message with a syntax > error at line number 1 usually. Any pointers? > You still need to invoke pcceshell.py to get a console window.. you can pass additional parameters to pcceshell to tell it to invoke your .py file. What is your command line? Brad Clements, bkc@murkworks.com (315)268-1000 http://www.murkworks.com (315)268-9812 Fax AOL-IM: BKClements From bkc@murkworks.com Tue Aug 27 00:17:22 2002 From: bkc@murkworks.com (Brad Clements) Date: Mon, 26 Aug 2002 19:17:22 -0400 Subject: [PythonCE] Re: EOFError In-Reply-To: <000501c24d53$af4eda40$4e56f7a5@RemoteAccess> Message-ID: <3D6A7F56.4356.491B8EA3@localhost> Don't send your questions directly to me, send them to the pythonce list so all can enjoy. Anyway, raw_input won't work because there isn't a console mode on the Pocket PC. You may notice that in win98, you have a DOS/Command window. There's no such thing on the Pocket PC, you'll have to pop-up a dialog window to get input. See Mark Hammond's "Python Programming on Win32" for details On 26 Aug 2002 at 18:55, Joe Murray wrote: > > Hello Brad, > > I recently installed Python on my PDA and when I try to do a raw_input() > command, I receive an > EOFError. This works fine using ActivePython on a Windows 98 machine and I > was wondering if there is a known workaround or a simple cofiguration > change to correct this. I am new to Python but have some experience with > Java and Perl. The machine is an Audiovox Maestrowth an arm processor > running Pocket PC 2002. Any help is appreciated. > > Thanks > Joe > Brad Clements, bkc@murkworks.com (315)268-1000 http://www.murkworks.com (315)268-9812 Fax AOL-IM: BKClements From toddp@OrangeImagineering.com Tue Aug 27 22:43:40 2002 From: toddp@OrangeImagineering.com (Todd Pinkerton) Date: Tue, 27 Aug 2002 17:43:40 -0400 Subject: [PythonCE] pyexpat missing? Message-ID: This is a multi-part message in MIME format. ------_=_NextPart_001_01C24E12.CEBF8130 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable I'm new to this list and pythonCE, so excuse me if this is an ignorant question.=20 =20 I'm importing xml.parsers.expat, which is included in the pythonCE distro. However, that file is just a wrapper around pyexpat, which I can't find; I assume it should be in python22.dll, but of course my interpreter can't find it. ("No module named pyexpat") .=20 =20 So is pyexpat in there? I updated my python22.dll with =20 ftp://ftp.murkworks.com/beta/pycearmcore4.zip =20 =20 (from a msg dated may 2 2002) . Is that the most recent?=20 =20 thanks, =20 -Todd =20 =20 =20 ------_=_NextPart_001_01C24E12.CEBF8130 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Message
I'm = new to this list=20 and pythonCE, so excuse me if this is an ignorant question. =
 
I'm = importing=20 xml.parsers.expat, which is included in the pythonCE distro.  = However, that=20 file is just a wrapper around pyexpat, which I can't find; I assume it = should be=20 in python22.dll, but of course my interpreter can't find it.  ("No = module=20 named pyexpat") .
 
So is = pyexpat in=20 there?  I updated my python22.dll with =20
ftp://ftp.murkworks.com/beta/pycearmcore4.zip
 
(from a msg dated may 2 2002) . Is = that the most=20 recent?
 
thanks,
 
-Todd
 
 
 
=00 ------_=_NextPart_001_01C24E12.CEBF8130-- From bkc@murkworks.com Wed Aug 28 14:26:53 2002 From: bkc@murkworks.com (Brad Clements) Date: Wed, 28 Aug 2002 09:26:53 -0400 Subject: [PythonCE] pyexpat missing? In-Reply-To: Message-ID: <3D6C97E9.21651.514BB270@localhost> pyexpat requires expat. Anyone seen a port of expat to wince on the 'Net ? Brad Clements, bkc@murkworks.com (315)268-1000 http://www.murkworks.com (315)268-9812 Fax AOL-IM: BKClements From bkc@murkworks.com Wed Aug 28 15:54:00 2002 From: bkc@murkworks.com (Brad Clements) Date: Wed, 28 Aug 2002 10:54:00 -0400 Subject: [PythonCE] Re: Python Won't Execute on iPAQ In-Reply-To: <1030544598.3d6cdcd633474@webmail.slaspa.com> References: <3D5297FE.12865.9B69919A@localhost> Message-ID: <3D6CAC54.28811.519B7554@localhost> Please send your questions to the pythonce list, not directly to me. This way question and answer will be in the archive.. Sorry to ask but have you used Python before? The >>> is the interpreter interactive prompt. You could use exec at this point to run your script.. Or pass the path on the command line in quotes. If you're just learning Python, please experiment on your desktop machine first. It will be much easier. On 28 Aug 2002 at 10:23, henrym@slaspa.com wrote: From: henrym@slaspa.com Date sent: Wed, 28 Aug 2002 10:23:18 -0400 To: bkc@murkworks.com Subject: Re: Python Won't Execute on iPAQ > Sorry I have taken so long to respond but I have done a number of installed > and tried other things to get this to work. No luck yet. The following is > an example of what I type in and the results: > > >>> My Documents\pyscripts\testpython.py > Traceback (most recent call last): > File ":,line 1 > My Documents\pyscripts\testpython.py > ^ > SyntaxError:invalid syntax > >>>> > > > Quoting Brad Clements : > > > On 9 Aug 2002 at 3:54, Melchoir Henry wrote: > > > > (copying to list for archives) > > > > > Help!! > > > > > > I have installed Python 2.2 on my iPAQ. Everything works fine when > > > testing in interactive mode. However, whenever I try to execute program > > > code stored in a folder, I get a trace back error message with a syntax > > > error at line number 1 usually. Any pointers? > > > > > > > You still need to invoke pcceshell.py to get a console window.. you can > > pass additional parameters to pcceshell to tell it to invoke your .py > > file. > > > > What is your command line? > > > > > > > > Brad Clements, bkc@murkworks.com (315)268-1000 > > http://www.murkworks.com (315)268-9812 Fax > > AOL-IM: BKClements > > > > > > > > > ------------------------------------------------- > This mail sent through IMP: http://horde.org/imp/ > Brad Clements, bkc@murkworks.com (315)268-1000 http://www.murkworks.com (315)268-9812 Fax AOL-IM: BKClements From henrym@slaspa.com Wed Aug 28 17:30:26 2002 From: henrym@slaspa.com (henrym@slaspa.com) Date: Wed, 28 Aug 2002 12:30:26 -0400 Subject: [PythonCE] (no subject) Message-ID: <1030552226.3d6cfaa241ed6@webmail.slaspa.com> Help Wanted!! I have installed Python 2.2 on my iPAQ. Everything works fine when testing in interactive mode. However, whenever I try to execute a program stored in a folder, I get a trace back error message with a syntax error at line number 1 usually. The following is an example of what I type in and the subsequent results: >>> My Documents\pyscripts\testpython.py Traceback (most recent call last): File ":,line 1 My Documents\pyscripts\testpython.py ^ SyntaxError:invalid syntax >>>> Any pointers? ------------------------------------------------- This mail sent through IMP: http://horde.org/imp/ From telionce@yahoo.com Sat Aug 31 07:35:00 2002 From: telionce@yahoo.com (Telion) Date: Fri, 30 Aug 2002 23:35:00 -0700 (PDT) Subject: [PythonCE] PythonCE22 for HPC (ARM, MIPS) Message-ID: <20020831063500.95767.qmail@web21107.mail.yahoo.com> Hi all, I was quite busy for several months and that prevented me from building PythonCE22 HPC2000. Now, I have a little more spare time, and I'm trying to finish Release build for HPC2000 MIPS. I made new web pages for easier downloading. http://pages.ccapcable.com/lac/PythonCE.html PythonCE 2.2+ Release build is now running on my HPC2000 with MIPS processor. The good news are; 1. It's much faster than previous debug build. 2. I've corrected About Dialog problem for HPC. 3. My tweak for input() emulation works. 4. Release Build, Debug build, and even 1.52+ can coexist. Down side; 5. Somehow, _socket module is missing. (It was there in debug build... Maybe I did something wrong with project setting.) 6. I'm having trouble with win32process, and so execv() tweak does not work. 7. regrtest shows "72 tests OK, 26 tests failed, 41 tests skipped". 8. If you don't have site.py in the same directory as exe file, debug window will open. Older, debug build for HPC2000 ARM is still available, but I don't know if it really works or not. I will make Release build for ARM in a few weeks, most probably. raw_input(), input(), sys.readline() emulation can be done by modifying pccechell. On my machine, it works fine. Take a look at ceshellg.py in "Extra" section of my web page. By modifying site.py, which is imported first, and pcceshell.py, you can do many many things. I have added primitive history and alias to the interpreter shell. To experiment PythonCE 2.2+ for HPC2000, Download Brad's distribution for iPaq, and replace exe, dll, pyd, pcceshell.py, and some other .py files from my web page. Exe and Dll files can be in any directory, providing that you run python from there. Associate .py with PythonCE22.exe with full path for easier life. Make a shortcut and copy it in Start menu directory. Currently, I'm using a dummy site.py with these lines in it. sys.stderr = open('py-stderr.txt','ab') sys.stdout = open('py-stdout.txt','ab') All output and error message will be saved until the Console windows starts up and takes over the stderr and stdout. Modify Python's library search path in site.py or pcceshell as needed. sys.path=['', '\\Storage card\\Python22\\Lib', '\\Storage card\\Python22\\', '\\My documents'] Let me know if it works. ===== Telion - telionce@yahoo.com - __________________________________________________ Do You Yahoo!? Yahoo! Finance - Get real-time stock quotes http://finance.yahoo.com From telionce@yahoo.com Sat Aug 31 09:50:12 2002 From: telionce@yahoo.com (Telion) Date: Sat, 31 Aug 2002 01:50:12 -0700 (PDT) Subject: [PythonCE] Re: EOFError In-Reply-To: <3D6A7F56.4356.491B8EA3@localhost> Message-ID: <20020831085012.39245.qmail@web21105.mail.yahoo.com> --- Brad Clements wrote: > Don't send your questions directly to me, send them > to the pythonce list so all can > enjoy. I think it's because of the Reply-to: field of this list. It's your e-mail address with cc: to the list. By the way, are there newer source code for zlib and _socket module? In my older Debug build, I can use socket without problem. (I use it for SNMP/Router logging) But _socket was gone when I made the release build. Maybe I did something wrong with project setting. Do you have any hint? Oh, one more question. I had an error in win32process for ExitProcess. It seems that it is a MFC thing. As I don't need it for now, I just put #ifndef to skip that problem. Did you have same error? If so, what did you do to correct it? I saw you've been negociating with CVS people while I was busy. Thank your for helping us. ===== Telion - telionce@yahoo.com - __________________________________________________ Do You Yahoo!? Yahoo! Finance - Get real-time stock quotes http://finance.yahoo.com From jim@burtcom.com Sat Aug 31 18:31:13 2002 From: jim@burtcom.com (Jim Burton) Date: Sat, 31 Aug 2002 11:31:13 -0600 Subject: [PythonCE] PythonCE22 for HPC (ARM, MIPS) In-Reply-To: <20020831063500.95767.qmail@web21107.mail.yahoo.com> Message-ID: <729236E1-BD07-11D6-810B-00039398E6D8@burtcom.com> Thanks -- I cant wait to try it! On Saturday, August 31, 2002, at 12:35 AM, Telion wrote: > Hi all, > > I was quite busy for several months and > that prevented me from building PythonCE22 HPC2000. > > Now, I have a little more spare time, and I'm trying > to finish Release build for HPC2000 MIPS. > > I made new web pages for easier downloading. > http://pages.ccapcable.com/lac/PythonCE.html > > PythonCE 2.2+ Release build is now running > on my HPC2000 with MIPS processor. > The good news are; > 1. It's much faster than previous debug build. > 2. I've corrected About Dialog problem for HPC. > 3. My tweak for input() emulation works. > 4. Release Build, Debug build, and even 1.52+ > can coexist. > Down side; > 5. Somehow, _socket module is missing. > (It was there in debug build... Maybe I did > something wrong with project setting.) > 6. I'm having trouble with win32process, > and so execv() tweak does not work. > 7. regrtest shows "72 tests OK, > 26 tests failed, 41 tests skipped". > 8. If you don't have site.py in the same > directory as exe file, debug window will open. > > Older, debug build for HPC2000 ARM is > still available, but I don't know > if it really works or not. > I will make Release build for ARM in a few weeks, > most probably. > > raw_input(), input(), sys.readline() emulation > can be done by modifying pccechell. > On my machine, it works fine. > Take a look at ceshellg.py in "Extra" section > > of my web page. > > By modifying site.py, which is imported first, > and pcceshell.py, you can do many many things. > I have added primitive history and alias > to the interpreter shell. > > > To experiment PythonCE 2.2+ for HPC2000, > Download Brad's distribution for iPaq, > and replace exe, dll, pyd, pcceshell.py, > and some other .py files from my web page. > > Exe and Dll files can be in any directory, > providing that you run python from there. > Associate .py with PythonCE22.exe with full path > for easier life. > Make a shortcut and copy it in Start menu directory. > > Currently, I'm using a dummy site.py with > these lines in it. > sys.stderr = open('py-stderr.txt','ab') > sys.stdout = open('py-stdout.txt','ab') > > All output and error message will be saved > until the Console windows starts up and > takes over the stderr and stdout. > > Modify Python's library search path in site.py > or pcceshell as needed. > > sys.path=['', '\\Storage card\\Python22\\Lib', > '\\Storage card\\Python22\\', '\\My documents'] > > Let me know if it works. > > > > ===== > Telion > - telionce@yahoo.com - > > __________________________________________________ > Do You Yahoo!? > Yahoo! Finance - Get real-time stock quotes > http://finance.yahoo.com > > _______________________________________________ > PythonCE mailing list > PythonCE@python.org > http://mail.python.org/mailman/listinfo/pythonce > From shazear@hotmail.com Sat Aug 31 18:45:01 2002 From: shazear@hotmail.com (Shazear Zmei) Date: Sat, 31 Aug 2002 10:45:01 -0700 Subject: [PythonCE] PythonCE22 for HPC (ARM, MIPS) Message-ID: So... along with this idea... How 'bout for SH3? I've got a Jornada running Pocket PC 2000. I'd love to get Python runnin on that. Are there any notes on how to build Python 2.2 for my Jornada? Source code to build from, build engine... etc. Alex Bender ----Original Message Follows---- From: Jim Burton To: Telion CC: pythonce@python.org Subject: Re: [PythonCE] PythonCE22 for HPC (ARM, MIPS) Date: Sat, 31 Aug 2002 11:31:13 -0600 Thanks -- I cant wait to try it! On Saturday, August 31, 2002, at 12:35 AM, Telion wrote: >Hi all, > >I was quite busy for several months and >that prevented me from building PythonCE22 HPC2000. > >Now, I have a little more spare time, and I'm trying >to finish Release build for HPC2000 MIPS. > >I made new web pages for easier downloading. >http://pages.ccapcable.com/lac/PythonCE.html > >PythonCE 2.2+ Release build is now running >on my HPC2000 with MIPS processor. >The good news are; > 1. It's much faster than previous debug build. > 2. I've corrected About Dialog problem for HPC. > 3. My tweak for input() emulation works. > 4. Release Build, Debug build, and even 1.52+ > can coexist. >Down side; > 5. Somehow, _socket module is missing. > (It was there in debug build... Maybe I did > something wrong with project setting.) > 6. I'm having trouble with win32process, > and so execv() tweak does not work. > 7. regrtest shows "72 tests OK, > 26 tests failed, 41 tests skipped". > 8. If you don't have site.py in the same > directory as exe file, debug window will open. > >Older, debug build for HPC2000 ARM is >still available, but I don't know >if it really works or not. >I will make Release build for ARM in a few weeks, >most probably. > >raw_input(), input(), sys.readline() emulation >can be done by modifying pccechell. >On my machine, it works fine. >Take a look at ceshellg.py in "Extra" section > >of my web page. > >By modifying site.py, which is imported first, >and pcceshell.py, you can do many many things. >I have added primitive history and alias >to the interpreter shell. > > >To experiment PythonCE 2.2+ for HPC2000, >Download Brad's distribution for iPaq, >and replace exe, dll, pyd, pcceshell.py, >and some other .py files from my web page. > >Exe and Dll files can be in any directory, >providing that you run python from there. >Associate .py with PythonCE22.exe with full path >for easier life. >Make a shortcut and copy it in Start menu directory. > >Currently, I'm using a dummy site.py with >these lines in it. > sys.stderr = open('py-stderr.txt','ab') > sys.stdout = open('py-stdout.txt','ab') > >All output and error message will be saved >until the Console windows starts up and >takes over the stderr and stdout. > >Modify Python's library search path in site.py >or pcceshell as needed. > >sys.path=['', '\\Storage card\\Python22\\Lib', >'\\Storage card\\Python22\\', '\\My documents'] > >Let me know if it works. > > > >===== >Telion >- telionce@yahoo.com - > >__________________________________________________ >Do You Yahoo!? >Yahoo! Finance - Get real-time stock quotes >http://finance.yahoo.com > >_______________________________________________ >PythonCE mailing list >PythonCE@python.org >http://mail.python.org/mailman/listinfo/pythonce > _______________________________________________ PythonCE mailing list PythonCE@python.org http://mail.python.org/mailman/listinfo/pythonce _________________________________________________________________ Chat with friends online, try MSN Messenger: http://messenger.msn.com From telionce@yahoo.com Sat Aug 31 19:42:40 2002 From: telionce@yahoo.com (Telion) Date: Sat, 31 Aug 2002 11:42:40 -0700 (PDT) Subject: [PythonCE] PythonCE22 for HPC (ARM, MIPS) In-Reply-To: Message-ID: <20020831184240.96546.qmail@web21108.mail.yahoo.com> --- Shazear Zmei wrote: > So... along with this idea... How 'bout for SH3? SH3 machine is usually based on CE2.11 or before. Current source code must be modifyed a little because some c functions are missing in 2.11 library. I started to work on that last year, then put it aside as I was bit too busy with otheer things. It should be not so difficult since you may be able to copy these missing functions from Rainer's CElib source code or elsewhere. (Beaware of Licensing matter though) > I've got a Jornada running Pocket PC 2000. I'd love > to get Python runnin on > that. Are there any notes on how to build Python > 2.2 for my Jornada? > Source code to build from, build engine... etc. > > Alex Bender > Please take a look at this file. http://pages.ccapcable.com/lac/extra/How_to_build_PythonCE.txt Note: I found much better way for project setting. (I should have done this long before. But I don't read manuals or help files a lot, and I paid the price.) Rather than setting Include directory in each project, I should have set it from Tool/Option/ dialog. The directory path coresponding following source tree; python/dist/source/PC, python/dist/source/Include, python/dist/source/python are needed in that order, as far as I've tested. You may need this; Pywin32/win32/src (or something like that) for building win32 modules. Also, In General Tab of project setting, put something like 'ARMRel' for the intermediate files, and 'C:\CVS\Python\dist\src\CEBuild' for the output. This will consolidate all output files(exe, dll, pyd, lib, etc) in one directory. Modify Tool/option dialog for Linker directory as you may have done for the Include files, adding 'C:\CVS\Python\dist\src\CEBuild' or something you have specified in the General tab of each project. Also, I would make for the Release build from the beggining. If you want to use debugger, just include symbol infomations in the release build by changing project setting. I have uploaded some of modified source files I used for my build. It's in the source file directory. http://pages.ccapcable.com/lac/src/ You can download source file distribution from Source forge, or from CVS via WinCVS (I use this method), or from Brad's site (Ask Brad for the URL of latest ZIP). Replace these sources with the one from my web pages, and try to build. Let me know if you get error on some module/header files. I'll upload corresponding source files. Using WinCVS is probably the best way since you may update your source tree, check the diff with other revisions, merge your source modification and latest revision, etc. Then, we have to exchange only small amount of pathed source files for building. Eventually all patches for CE may be included in the main CVS. Until then, I can live with this method without much problem. Anyway, since I'm no expert in this, let me know if you find any mistake in what I'm doing or better way to build. ===== Telion - telionce@yahoo.com - __________________________________________________ Do You Yahoo!? Yahoo! Finance - Get real-time stock quotes http://finance.yahoo.com From bkc@murkworks.com Sat Aug 31 21:22:28 2002 From: bkc@murkworks.com (Brad Clements) Date: Sat, 31 Aug 2002 16:22:28 -0400 Subject: [PythonCE] Re: EOFError In-Reply-To: <20020831085012.39245.qmail@web21105.mail.yahoo.com> References: <3D6A7F56.4356.491B8EA3@localhost> Message-ID: <3D70EDC0.31791.101D5BFA@localhost> On 31 Aug 2002 at 1:50, Telion wrote: > By the way, are there newer source code for > zlib and _socket module? I have zlib and _socket compiling for ARM. I need to track down expat.. > I saw you've been negociating with > CVS people while I was busy. Yes, I need to follow up -- refresh checkout from HEAD and all new diffs. Just need to find the time. Brad Clements, bkc@murkworks.com (315)268-1000 http://www.murkworks.com (315)268-9812 Fax AOL-IM: BKClements