From doug@jarna.com Wed Jul 3 19:50:40 2002 From: doug@jarna.com (Doug Marien) Date: Wed, 3 Jul 2002 11:50:40 -0700 Subject: [PythonCE] source for pythonce? Message-ID: Is the source available that was used to build the binaries located in PPCPythonR2.zip? I'm familiar with the python source branches, but only noticed defines for MS_WINCE in the win32 sources. Was there anything special that needed to be done to build the "Pocket PC Python.exe"? I'd like to make a build for the emulator so I can eventually port and debug some custom python extensions. Thanks, Doug Marien doug@jarna.com From reic0024@d.umn.edu Thu Jul 11 17:16:19 2002 From: reic0024@d.umn.edu (Aaron) Date: Thu, 11 Jul 2002 11:16:19 -0500 (Central Daylight Time) Subject: [PythonCE] Usefulness of Python CE and GUI ideas Message-ID: Hello everyone! Well, for the entire month of July so far, there's been one post. I suppose there's not much interest in Python on CE/PocketPC, or you are all just so busy writing code. :) I'm wondering about the usefulness of PythonCE for creating PocketPC/WinCE apps. Has anyone created a more or less full, with GUI, app in PythonCE? I'm currently working on my own full PDA OS/environment called Dynapad (http://dynapad.swiki.net/1) written in Squeak Smalltalk. Until Dynapad does everything I expect from a PDA environment, and does it well, I'll be sticking with Windows CE. So in the meantime, I'm trying to find the best way to develop more or less full apps on the iPAQ itself. For those of you who are interested, I've a pda up dedicated to PDA hosted languages, http://dynapad.swiki.net/11 . Thus far, I've been using Smalltalk and Perl + Tk. Perl/Tk is quite horrible, it has pretty huge memory requirements. I imagine, unfortunately, that Python and Ruby are pretty much the same way. Squeak has been working out quite well, and I choose it because it was the most practical. However, it doesn't integrate with the rest of the WinCE environment, so it's somewhat all-or-nothing. Another idea is that one could use NSBasic for the GUI, and use a COM SOAP component for PocketPC (which exist!) to call a Smalltalk, Perl, Python or whatever server to do the real work. I imagine Pocket-C can probably call COM components as well- there's also a form builder for PocketC. Regards, Aaron From bkc@murkworks.com Thu Jul 11 17:59:41 2002 From: bkc@murkworks.com (Brad Clements) Date: Thu, 11 Jul 2002 12:59:41 -0400 Subject: [PythonCE] Usefulness of Python CE and GUI ideas In-Reply-To: Message-ID: <3D2D7B75.20084.A6F8711@localhost> I'm still waiting for wxWindows for CE. Then I'll port pythoncard. (Also looking to port HAP) So far, wxWindows for CE hasn't moved at all, and my email's are ignored. Brad Clements, bkc@murkworks.com (315)268-1000 http://www.murkworks.com (315)268-9812 Fax AOL-IM: BKClements From reic0024@d.umn.edu Thu Jul 11 18:01:01 2002 From: reic0024@d.umn.edu (Aaron) Date: Thu, 11 Jul 2002 12:01:01 -0500 (Central Daylight Time) Subject: [PythonCE] Usefulness of Python CE and GUI ideas In-Reply-To: <3D2D7B75.20084.A6F8711@localhost> Message-ID: On Thu, 11 Jul 2002, Brad Clements wrote: > I'm still waiting for wxWindows for CE. > Then I'll port pythoncard. That would most definately be cool. One of the things desktop computers and PDAs should be able to do (IMHO) is have facilites for allowing the user to whip together a quick database application without having to do much coding. One of the things I'm working on in Squeak Smalltalk for Dynapad is an editor for something like HyperCard stacks. Squeak already has support for creating Stacks, and it dooes quite a bit more than PythonCard as it is now. However, dragging around widgets into a Page in a Stack from a palette isn't very practical for something with such a tiny screen as a PocketPC. I'm trying to figure out ways to easily construct a Stack in other ways, a tree and property-based interface for example. Perhaps we can write something like this for PythonCard if/when it makes it to the PocketPC. > So far, wxWindows for CE hasn't moved at all, and my email's are ignored. Hasn't moved- has someone started work on it? Thanks for compiling PPCPython for us! :) Aaron From doug@jarna.com Thu Jul 11 18:05:12 2002 From: doug@jarna.com (Doug Marien) Date: Thu, 11 Jul 2002 10:05:12 -0700 Subject: [PythonCE] Usefulness of Python CE and GUI ideas In-Reply-To: <3D2D7B75.20084.A6F8711@localhost> Message-ID: There's plenty of interest in PythonCE. And kudos to Brad for keeping it alive. I've spent the last couple days (on/off) attempting to compile pythoncom, but just gave up yesterday because of a couple linking errors. I'll probably come back to it at some point. I've also got pyexpat running (if anyone is interested?). Brad, was there a reason you compiled zlib/_socket/select into the python dll instead of making them separate pyd's? Was it for convenience or for performance? -Doug -----Original Message----- From: pythonce-admin@python.org [mailto:pythonce-admin@python.org]On Behalf Of Brad Clements Sent: Thursday, July 11, 2002 10:00 AM To: pythonce@python.org Subject: Re: [PythonCE] Usefulness of Python CE and GUI ideas I'm still waiting for wxWindows for CE. Then I'll port pythoncard. (Also looking to port HAP) So far, wxWindows for CE hasn't moved at all, and my email's are ignored. Brad Clements, bkc@murkworks.com (315)268-1000 http://www.murkworks.com (315)268-9812 Fax AOL-IM: BKClements From reic0024@d.umn.edu Thu Jul 11 18:12:23 2002 From: reic0024@d.umn.edu (Aaron) Date: Thu, 11 Jul 2002 12:12:23 -0500 (Central Daylight Time) Subject: [PythonCE] Usefulness of Python CE and GUI ideas In-Reply-To: Message-ID: On Thu, 11 Jul 2002, Doug Marien wrote: > There's plenty of interest in PythonCE. And kudos to Brad for keeping it > alive. I've spent the last couple days (on/off) attempting to compile > pythoncom, but just gave up yesterday because of a couple linking errors. > I'll probably come back to it at some point. I've also got pyexpat running > (if anyone is interested?). Well, I definately think an XML parser is needed... Are there any pure Python parsers that would be good enough though? Also, when PythonCOM (which I assume == pythoncom) perhaps there's some official MS parser to exploit that way. Aaron From reic0024@d.umn.edu Thu Jul 11 18:13:53 2002 From: reic0024@d.umn.edu (Aaron) Date: Thu, 11 Jul 2002 12:13:53 -0500 (Central Daylight Time) Subject: [PythonCE] Jython on PocketPC? In-Reply-To: Message-ID: Hey, Has anyone used the Jeode Java VM or Sun's Personal Java VM to run Jython? AWT and Swing can be made to work on the PocketPC, so perhaps that's a way to get real-live GUI apps in Python on the PocketPC. One helluva footprint though, but if you didn't need to redistrubute, who cares! :) Regards, Aaron From bkc@murkworks.com Thu Jul 11 18:43:53 2002 From: bkc@murkworks.com (Brad Clements) Date: Thu, 11 Jul 2002 13:43:53 -0400 Subject: [PythonCE] Usefulness of Python CE and GUI ideas In-Reply-To: References: <3D2D7B75.20084.A6F8711@localhost> Message-ID: <3D2D85D1.16509.A97FFD3@localhost> On 11 Jul 2002 at 10:05, Doug Marien wrote: > Brad, was there a reason you compiled zlib/_socket/select into the python > dll instead of making them separate pyd's? Was it for convenience or for > performance? I want to be able to bootstrap Python from a Pocket Access database. That is, store compiled (and compressed) .pyc files in an Access Database, rather than as distinct files. This will save space. Also, a desktop application can be used to load modules.. So that's why zlib is there. _socket is built-in because I felt that every app would use tcp/ip anyway, also, I want to be able to debug apps using HAP, so having it in one .dll saves a little space. Brad Clements, bkc@murkworks.com (315)268-1000 http://www.murkworks.com (315)268-9812 Fax AOL-IM: BKClements From doug@jarna.com Thu Jul 11 18:54:46 2002 From: doug@jarna.com (Doug Marien) Date: Thu, 11 Jul 2002 10:54:46 -0700 Subject: [PythonCE] Usefulness of Python CE and GUI ideas In-Reply-To: Message-ID: PythonCOM is via the pythoncomXX.dll, hence the pythoncom. :) I'm not aware of any pure python parsers, but I wouldn't doubt that they exist. I ported pyexpat because it's the default parser that ships with python. So Aaron, when are you going to transfer down to the Minneapolis campus? :) -----Original Message----- From: Aaron [mailto:reic0024@d.umn.edu] Sent: Thursday, July 11, 2002 10:12 AM To: Doug Marien Cc: pythonce@python.org Subject: RE: [PythonCE] Usefulness of Python CE and GUI ideas On Thu, 11 Jul 2002, Doug Marien wrote: > There's plenty of interest in PythonCE. And kudos to Brad for keeping it > alive. I've spent the last couple days (on/off) attempting to compile > pythoncom, but just gave up yesterday because of a couple linking errors. > I'll probably come back to it at some point. I've also got pyexpat running > (if anyone is interested?). Well, I definately think an XML parser is needed... Are there any pure Python parsers that would be good enough though? Also, when PythonCOM (which I assume == pythoncom) perhaps there's some official MS parser to exploit that way. Aaron From doug@jarna.com Mon Jul 15 20:35:59 2002 From: doug@jarna.com (Doug Marien) Date: Mon, 15 Jul 2002 12:35:59 -0700 Subject: [PythonCE] PyTime/DATE Variant/time module Message-ID: I noticed some odd behavior when extending the IContact interface for PocketOutlook with the DATE variants. Basically, the year/month values are correct, but when the time module attempts to make the 1900 correction for the year and the +1 for the month, it throws off the real time. Starting with this code: DATE daAnniversary; HRESULT hr = (self->pContact)->get_Anniversary(&daAnniversary); return PyWinObject_FromDATE(daAnniversary); PyWinObject_FromDATE() comes from pywintypes which will return a PyTime object. When converting that to an integer (calling PyTime::asLong), the year/month correction throws off the value returned which in turn throws off the time conversion routines. >From what I can tell, all the time routines work just fine without the year/month correction. Are they needed with CE? If it is required, then in PyCE_TimeStructToSystemTime, the check for whether the year is less than 100 will fail for anything after the year 2000. Thoughts? Doug Marien doug@jarna.com From mhammond@skippinet.com.au Tue Jul 16 03:01:08 2002 From: mhammond@skippinet.com.au (Mark Hammond) Date: Tue, 16 Jul 2002 12:01:08 +1000 Subject: [PythonCE] PyTime/DATE Variant/time module In-Reply-To: Message-ID: > From: pythonce-admin@python.org [mailto:pythonce-admin@python.org]On > Behalf Of Doug Marien > Sent: Tuesday, 16 July 2002 5:36 AM > To: pythonce@python.org > Subject: [PythonCE] PyTime/DATE Variant/time module > > > I noticed some odd behavior when extending the IContact interface for > PocketOutlook with the DATE variants. Basically, the year/month > values are > correct, but when the time module attempts to make the 1900 correction for > the year and the +1 for the month, it throws off the real time. > > Starting with this code: > > DATE daAnniversary; > HRESULT hr = (self->pContact)->get_Anniversary(&daAnniversary); > return PyWinObject_FromDATE(daAnniversary); > > PyWinObject_FromDATE() comes from pywintypes which will return a PyTime > object. When converting that to an integer (calling PyTime::asLong), the > year/month correction throws off the value returned which in turn > throws off > the time conversion routines. > > From what I can tell, all the time routines work just fine without the > year/month correction. Are they needed with CE? I have no idea if they are really needed for CE, but I would be quite surprised if they were not needed for normal Windows, but were for CE. But I have been surprised before ;) The MSDN docs seem to state quite clearly that they are needed. struct tm docs say: tm_mon Month (0 – 11; January = 0) tm_year Year (current year minus 1900) SYSTEMTIME docs say: wMonth - Specifies the current month; January = 1, February = 2, and so on. wYear - Specifies the current year. These docs imply that the pywintypes code is correct. > If it is required, then in PyCE_TimeStructToSystemTime, the check for > whether the year is less than 100 will fail for anything after the year > 2000. Possibly - I don't seem to have the latest sources for PyCE_TimeStructToSystemTime() handy to check. Certainly it is more likely that bugs exist in that CE specific code than in the shared win32 sources. The likeliness increases IIRC that I wrote PyCE_TimeStructToSystemTime() ;) Mark. From gintam@inbox.lv Tue Jul 16 13:20:14 2002 From: gintam@inbox.lv (Gints Polis) Date: Tue, 16 Jul 2002 15:20:14 +0300 Subject: [PythonCE] How to compile Message-ID: <1026822014.3d340f7ec0ad8@www.inbox.lv> This is a multipart/alternative; ------=_NextPart_000 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Hi, How I could compile pythonce for other platform: I have Compaq C800 hanheld with MIPS procesor. Thanks in advice, Gints --- This message contains no viruses. Guaranteed by Kaspersky Anti-Virus. www.antivirus.lv ------=_NextPart_000 Content-Type: text/html; charset=ISO-8859-1
Reklama.
MIIB  


Hi,

How I could compile pythonce for other platform: I have Compaq C800 hanheld
with MIPS procesor.

Thanks in advice,
Gints




---
This message contains no viruses.
Guaranteed by Kaspersky Anti-Virus.
www.antivirus.lv

------=_NextPart_000-- From doug@jarna.com Thu Jul 18 19:46:19 2002 From: doug@jarna.com (Doug Marien) Date: Thu, 18 Jul 2002 11:46:19 -0700 Subject: [PythonCE] PythonPath registry settings Message-ID: Also, thought I'd pass this along. If you noticed that the PythonPath registry settings weren't working, it's because of the WideCharToMultiByte call in getpathp.c on/around line 327. The destination size should be reqdSize+1 and not dataSize+1. That was causing my path to get truncated and thus failing imports. Doug From doug@jarna.com Thu Jul 18 19:43:26 2002 From: doug@jarna.com (Doug Marien) Date: Thu, 18 Jul 2002 11:43:26 -0700 Subject: [PythonCE] win32con.py Message-ID: I noticed a win32con.py under the wince/lib directory. Can the one located under win32/lib be used instead or are there specific CE defines that will be needed? Basically, I noticed some missing defines in the wince version, such as CW_USEDEFAULT. I can copy over the missing defines as needed, but I'd hate to veer too much from the defaults that come with the distribution. Besides, the wince version is 1/4 the size. :) Doug From doug@jarna.com Thu Jul 18 20:21:14 2002 From: doug@jarna.com (Doug Marien) Date: Thu, 18 Jul 2002 12:21:14 -0700 Subject: [PythonCE] strftime from the time module Message-ID: We use the calendar module quite a bit but we had a problem when it wanted to import strftime from the time module. We've been modifying calendar.py and removing the import line, but sometimes we forget and it's becoming a pain. So, instead of modifying the core lib distribution, I'd like to request that strftime be added to the time module, but have it raise an exception with "NOT SUPPORTED" or some such. Basically, for now, I've added this to Brad's timemodule.c: static PyObject * time_strftime(PyObject *self, PyObject *args) { PyErr_SetString(PyExc_Exception, "strftime NOT SUPPORTED"); return NULL; } static char strftime_doc[] = "strftime(format[, tuple]) -> string\n\ \n\ NOT SUPPORTED - only here for calendar.py."; Doug From ehewlett@hotpop.com Sat Jul 20 17:04:43 2002 From: ehewlett@hotpop.com (Edward Hewlett) Date: Sat, 20 Jul 2002 09:04:43 -0700 Subject: [PythonCE] storage card Message-ID: I would like to install PythonCE to the Storage Card (CF) on my iPAQ 3650. (Don't have room in main memory.) Have gone through all the installation steps, putting the content of the Windows installation directory in main memory (\Windows\etc...) and the contents of the Program Files directory in \Storage Card\Program Files\etc..., but it doesn't seem to work. Looking back through the contents of the mailing list archives, I found a message that refers to the existence of a previous message that addressed the problem of installing to a storage card, but couldn't find the previous message it referred to. Is it possible to install to a CF card (and, if so, how)? FYI: After having installed as described above, the Pocket PC Python.exe produces a scrollable window (without menus) with the following error message: "Traceback (innermost last): cant import traceback exceptions.ImportError: No module named pcceshell" Thanks. Edward. From gollem@chatway.nl Sat Jul 20 17:35:42 2002 From: gollem@chatway.nl (gollem) Date: Sat, 20 Jul 2002 09:35:42 -0700 (PDT) Subject: [PythonCE] storage card Message-ID: <20020720163542.B07F73ECC@sitemail.everyone.net> Hi Ed, I found this: http://mail.python.org/pipermail/pythonce/2002-April/000030.html Google is your friend. --- "Edward Hewlett" wrote: >I would like to install PythonCE to the Storage Card (CF) on my iPAQ 3650. >(Don't have room in main memory.) Have gone through all the installation >steps, putting the content of the Windows installation directory in main >memory (\Windows\etc...) and the contents of the Program Files directory in >\Storage Card\Program Files\etc..., but it doesn't seem to work. Looking >back through the contents of the mailing list archives, I found a message >that refers to the existence of a previous message that addressed the >problem of installing to a storage card, but couldn't find the previous >message it referred to. > >Is it possible to install to a CF card (and, if so, how)? > >FYI: After having installed as described above, the Pocket PC Python.exe >produces a scrollable window (without menus) with the following error >message: > >"Traceback (innermost last): >cant import traceback >exceptions.ImportError: No module named pcceshell" > >Thanks. > > Edward. > > > > >_______________________________________________ >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 doug@jarna.com Thu Jul 25 23:25:01 2002 From: doug@jarna.com (Doug Marien) Date: Thu, 25 Jul 2002 15:25:01 -0700 Subject: [PythonCE] PC/import_nt.c and CE registry functions Message-ID: Forgot about this in my last registry post, but the RegQueryValueEx calls in import_nt.c are failing with an ERROR_INVALID_PARAMETER, however, when I first call RegOpenKeyEx and use that in the query call, everything works. I searched the pocketpc developer groups and couldn't find anyone who posted a similar problem with ReqQueryValueEx. And considering this code works fine under Windows, I'm guessing it's pocketpc specific? So, I tweaked the existing code slightly (starting around line 77) to: regStat = RegOpenKeyEx(HKEY_CURRENT_USER, moduleKey, 0, 0, &keyBase); if (regStat == ERROR_SUCCESS) { regStat = RegQueryValueEx(keyBase, NULL, NULL,& lptype, (char *) tPathBuf, &modNameSize); RegCloseKey(keyBase); } if (regStat != ERROR_SUCCESS) { regStat = RegOpenKeyEx(HKEY_LOCAL_MACHINE, moduleKey, 0, 0, &keyBase); if (regStat != ERROR_SUCCESS) goto done; // be anal - failure may have reset size param modNameSize = pathLen; regStat = RegQueryValueEx(keyBase, NULL, NULL,& lptype, (char *) tPathBuf, &modNameSize); RegCloseKey(keyBase); if (regStat != ERROR_SUCCESS) goto done; } Has anyone had experience/frustration with the registry functions on CE? Or am I just missing something? :) Thanks, Doug From dotjpg@mac.com Tue Jul 30 04:15:52 2002 From: dotjpg@mac.com (Lauren Wilson) Date: Mon, 29 Jul 2002 21:15:52 -0600 Subject: [PythonCE] MIPS ? Message-ID: I'd like to learn Python. I have an NEC MobilePro 770 (MIPS) CE machine. Anyone know of Python SDK, API,... for that platform? Thanks, Lauren From gollem@chatway.nl Tue Jul 30 14:54:42 2002 From: gollem@chatway.nl (gollem) Date: Tue, 30 Jul 2002 06:54:42 -0700 (PDT) Subject: [PythonCE] MIPS ? Message-ID: <20020730135442.B7E783964@sitemail.everyone.net> --- Lauren Wilson wrote: >I'd like to learn Python. >I have an NEC MobilePro 770 (MIPS) CE machine. Anyone know of Python >SDK, API,... for that platform? > >Thanks, >Lauren Lauren, look here http://starship.python.net/crew/mhammond/ce/old.html and here: http://mail.python.org/pipermail/pythonce/2002-April.txt _____________________________________________________________ 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 phillipp@pulsedata.com Tue Jul 30 23:23:48 2002 From: phillipp@pulsedata.com (phillipp@pulsedata.com) Date: Wed, 31 Jul 2002 10:23:48 +1200 Subject: [PythonCE] MIPS ? Message-ID: This is a multipart message in MIME format. --=_alternative 007B08ACCC256C06_= Content-Type: text/plain; charset="US-ASCII" >Lauren, look here > >http://starship.python.net/crew/mhammond/ce/old.html > >and here: > >http://mail.python.org/pipermail/pythonce/2002-April.txt That second link refers to Python 2.2 sources from Brad Clements, however all I can find on his website are ARM binaries. Brad - do you have some sources or patches available somewhere? Background: We're using CE 2.11 on MIPS. I've had a go at compiling the sources from CVS, but it doesn't look like any of the CE patches have been applied there. I've started putting in ifdefs to make it compile, but if there's a complete set of code out there that works, that would make life much easier! Thanks, -- Phillip Pearson Electronics Engineer Pulse Data International Ltd 1 Expo Place, Christchurch New Zealand DDI: +64-3-353 2872 Fax: +64-3-384 4933 Email: phillip.pearson@pulsedata.com Internet: http://www.pulsedata.com/ --=_alternative 007B08ACCC256C06_= Content-Type: text/html; charset="US-ASCII"
>Lauren, look here
>
>http://starship.python.net/crew/mhammond/ce/old.html
>
>and here:
>
>http://mail.python.org/pipermail/pythonce/2002-April.txt

That second link refers to Python 2.2 sources from Brad Clements, however all I can find on his website are ARM binaries.  Brad - do you have some sources or patches available somewhere?

Background: We're using CE 2.11 on MIPS.  I've had a go at compiling the sources from CVS, but it doesn't look like any of the CE patches have been applied there.  I've started putting in ifdefs to make it compile, but if there's a complete set of code out there that works, that would make life much easier!

Thanks,

--

Phillip Pearson
Electronics Engineer
Pulse Data International Ltd
1 Expo Place, Christchurch
New Zealand

DDI: +64-3-353 2872
Fax:  +64-3-384 4933
Email: phillip.pearson@pulsedata.com
Internet: http://www.pulsedata.com/
--=_alternative 007B08ACCC256C06_=-- From ward@mit.edu Tue Jul 30 23:33:57 2002 From: ward@mit.edu (Steve Ward) Date: Tue, 30 Jul 2002 18:33:57 -0400 (EDT) Subject: [PythonCE] MIPS ? In-Reply-To: (phillipp@pulsedata.com) References: Message-ID: <200207302233.g6UMXvW16143@catfish.lcs.mit.edu> Download the latest release from www.python.org. In the hour since I talked to you, I've almost got an email stock-quote responder working! (Of course, thats because most of the big pieces are already done for me...) I've used the python ce version too, but I doubt you're interested in that (unless you want to run the thing on your handheld rather than on a server!). -Steve From phillipp@pulsedata.com Wed Jul 31 02:54:10 2002 From: phillipp@pulsedata.com (phillipp@pulsedata.com) Date: Wed, 31 Jul 2002 13:54:10 +1200 Subject: [PythonCE] MIPS ? Message-ID: This is a multipart message in MIME format. --=_alternative 000A7541CC256C07_= Content-Type: text/plain; charset="US-ASCII" [Phillip Pearson] >That second link refers to Python 2.2 sources from Brad Clements, >however all I can find on his website are ARM binaries. Brad - >do you have some sources or patches available somewhere? [Steve Ward] >Download the latest release from www.python.org. In the hour since >I talked to you, I've almost got an email stock-quote responder working! >(Of course, thats because most of the big pieces are already done for >me...) > >I've used the python ce version too, but I doubt you're interested in >that (unless you want to run the thing on your handheld rather than on >a server!). Uhh ... actually Python CE is exactly what I'm after ;-) Maybe this is just me being clueless, but AFAIK the source code for Python 2.2 on www.python.org won't compile on CE. Or is it just the version of the dev tools that I'm using? I'm using eMbedded Visual C++ 3.0 and targetting CE 2.11 (2.12?) on MIPS (+ emulator). The closest thing to what I'm after is Mark Hammond's original port (at http://starship.python.net/crew/mhammond/ce/old.html), however that's only version 1.5.2, which is pretty out of date now. Mark's CE page (http://starship.python.net/crew/mhammond/ce/) says that the project has moved to MurkWorks (http://www.murkworks.com/Research/Python/PocketPCPython/Overview). The only problem is that the MurkWorks page only has a binary for StrongARM, and I'm using a CE machine (a custom system) with a MIPS processor. I guess the question I should be asking is: Does the Python 2.2 source code on www.python.org compile under the latest CE development tools? and if the answer there is 'no': Does anybody have a port of Python 2.2 to CE 2.11 (that is, one that compiles under eVC 3.0)? Thanks, -- Phillip Pearson Electronics Engineer Pulse Data International Ltd 1 Expo Place, Christchurch New Zealand DDI: +64-3-353 2872 Fax: +64-3-384 4933 Email: phillip.pearson@pulsedata.com Internet: http://www.pulsedata.com/ --=_alternative 000A7541CC256C07_= Content-Type: text/html; charset="US-ASCII"
[Phillip Pearson]
>That second link refers to Python 2.2 sources from Brad Clements,
>however all I can find on his website are ARM binaries.  Brad -
>do you have some sources or patches available somewhere?

[Steve Ward]
>Download the latest release from www.python.org.  In the hour since
>I talked to you, I've almost got an email stock-quote responder working!
>(Of course, thats because most of the big pieces are already done for
>me...)
>
>I've used the python ce version too, but I doubt you're interested in
>that (unless you want to run the thing on your handheld rather than on
>a server!).


Uhh ... actually Python CE is exactly what I'm after ;-)

Maybe this is just me being clueless, but AFAIK the source code for Python 2.2 on www.python.org won't compile on CE.  Or is it just the version of the dev tools that I'm using?  I'm using eMbedded Visual C++ 3.0 and targetting CE 2.11 (2.12?) on MIPS (+ emulator).

The closest thing to what I'm after is Mark Hammond's original port (at http://starship.python.net/crew/mhammond/ce/old.html), however that's only version 1.5.2, which is pretty out of date now.

Mark's CE page (http://starship.python.net/crew/mhammond/ce/) says that the project has moved to MurkWorks (http://www.murkworks.com/Research/Python/PocketPCPython/Overview).  The only problem is that the MurkWorks page only has a binary for StrongARM, and I'm using a CE machine (a custom system) with a MIPS processor.

I guess the question I should be asking is:

        Does the Python 2.2 source code on www.python.org compile under the latest CE development tools?

and if the answer there is 'no':

        Does anybody have a port of Python 2.2 to CE 2.11 (that is, one that compiles under eVC 3.0)?

Thanks,

--

Phillip Pearson
Electronics Engineer
Pulse Data International Ltd
1 Expo Place, Christchurch
New Zealand

DDI: +64-3-353 2872
Fax:  +64-3-384 4933
Email: phillip.pearson@pulsedata.com
Internet: http://www.pulsedata.com/
--=_alternative 000A7541CC256C07_=-- From msc@hyperwerk.ch Wed Jul 31 15:48:11 2002 From: msc@hyperwerk.ch (Mischa Schaub) Date: Wed, 31 Jul 2002 16:48:11 +0200 Subject: [PythonCE] Toshiba PocketPC e740 Message-ID: Could anyone tell me please, if there might be a binary version of PythonCE for the XSCALE 400 Mhz Processor available? Kind regards and many thanx Mischa From doug@jarna.com Wed Jul 31 17:45:49 2002 From: doug@jarna.com (Doug Marien) Date: Wed, 31 Jul 2002 09:45:49 -0700 Subject: [PythonCE] Toshiba PocketPC e740 In-Reply-To: Message-ID: Have you tried running the ARM version on the device? I thought the XScale processors were just newer versions of the StrongARM, so the binaries should work, however, it may not be as fast as an XScale optimized version. Doug -----Original Message----- From: pythonce-admin@python.org [mailto:pythonce-admin@python.org]On Behalf Of Mischa Schaub Sent: Wednesday, July 31, 2002 7:48 AM To: pythonce@python.org Subject: [PythonCE] Toshiba PocketPC e740 Could anyone tell me please, if there might be a binary version of PythonCE for the XSCALE 400 Mhz Processor available? Kind regards and many thanx Mischa From bkc@murkworks.com Wed Jul 31 18:56:58 2002 From: bkc@murkworks.com (Brad Clements) Date: Wed, 31 Jul 2002 13:56:58 -0400 Subject: [PythonCE] Toshiba PocketPC e740 In-Reply-To: Message-ID: <3D47EDC2.13034.71BFD9C3@localhost> Does your device support CEF binaries? They're supposed cross-platform binaries that are translated into device specific code during install. If you have PC 2002 OS it should. I'm wondering if CEF would translate to a faster program than running the current ARM binaries. On 31 Jul 2002 at 16:48, Mischa Schaub wrote: From: Mischa Schaub To: Subject: [PythonCE] Toshiba PocketPC e740 Date sent: Wed, 31 Jul 2002 16:48:11 +0200 > Could anyone tell me please, if there might be a binary version of PythonCE > for the XSCALE 400 Mhz Processor available? > > Kind regards and many thanx > > Mischa > > > _______________________________________________ > 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 bkc@murkworks.com Wed Jul 31 19:06:56 2002 From: bkc@murkworks.com (Brad Clements) Date: Wed, 31 Jul 2002 14:06:56 -0400 Subject: [PythonCE] MIPS ? In-Reply-To: Message-ID: <3D47F019.21878.71C8FBA8@localhost> On 31 Jul 2002 at 13:54, phillipp@pulsedata.com wrote: > Maybe this is just me being clueless, but AFAIK the source code for Python > 2.2 on www.python.org won't compile on CE. Or is it just the version of the > dev tools that I'm using? I'm using eMbedded Visual C++ 3.0 and targetting > CE 2.11 (2.12?) on MIPS (+ emulator). CE 2.11 doesn't have a CRTL like CE 3.0 does. The ARM port of Python 2.2 is using the CRTL in CE 3.0 Mark's older port included it's own CRTL, but I think the source notes indicate that some work is needed on the CRTL to fix problems. So .. even though you can use EVT to compile for 2.11, you still have a lot more work to add CRTL emulation to the build. > Does the Python 2.2 source code on www.python.org compile under the > latest CE > development tools? Yes, that's how I did the ARM release. > Does anybody have a port of Python 2.2 to CE 2.11 (that is, one that > compiles > under eVC 3.0)? No. Brad Clements, bkc@murkworks.com (315)268-1000 http://www.murkworks.com (315)268-9812 Fax AOL-IM: BKClements From reic0024@d.umn.edu Wed Jul 31 21:04:57 2002 From: reic0024@d.umn.edu (Aaron) Date: Wed, 31 Jul 2002 15:04:57 -0500 (Central Daylight Time) Subject: [PythonCE] Toshiba PocketPC e740 In-Reply-To: <3D47EDC2.13034.71BFD9C3@localhost> Message-ID: On Wed, 31 Jul 2002, Brad Clements wrote: > Does your device support CEF binaries? They're supposed cross-platform > binaries that are translated into device specific code during install. > If you have PC 2002 OS it should. > > I'm wondering if CEF would translate to a faster program than running > the current ARM binaries. Wow! This CEF thing sounds interesting. When you say that it translates it into device specific code, do you mean CPU specific code, or aspects that apply in different ways to devices with the same CPU? Like, HP Jornada and the iPAQ 3650. Or is it some sort of cross-platform binary, that would work on StrongARM, SH4 and MIPS? Regards, Aaron From bkc@murkworks.com Wed Jul 31 21:07:52 2002 From: bkc@murkworks.com (Brad Clements) Date: Wed, 31 Jul 2002 16:07:52 -0400 Subject: [PythonCE] Toshiba PocketPC e740 In-Reply-To: References: <3D47EDC2.13034.71BFD9C3@localhost> Message-ID: <3D480C70.18000.7237B18B@localhost> On 31 Jul 2002 at 15:04, Aaron wrote: > Wow! This CEF thing sounds interesting. When you say that it translates it > into device specific code, do you mean CPU specific code, or aspects that > apply in different ways to devices with the same CPU? Like, HP Jornada and > the iPAQ 3650. Or is it some sort of cross-platform binary, that would > work on StrongARM, SH4 and MIPS? In theory, ActiveSync converts CEF to device specific binary opcodes. This doesn't compensate for differences in screen res or stuff, just ARM vs. MIPS, vs .. ? I haven't tried it yet Brad Clements, bkc@murkworks.com (315)268-1000 http://www.murkworks.com (315)268-9812 Fax AOL-IM: BKClements From reic0024@d.umn.edu Wed Jul 31 21:15:55 2002 From: reic0024@d.umn.edu (Aaron) Date: Wed, 31 Jul 2002 15:15:55 -0500 (Central Daylight Time) Subject: [PythonCE] Toshiba PocketPC e740 In-Reply-To: <3D480C70.18000.7237B18B@localhost> Message-ID: On Wed, 31 Jul 2002, Brad Clements wrote: > On 31 Jul 2002 at 15:04, Aaron wrote: > > > Wow! This CEF thing sounds interesting. When you say that it translates it > > into device specific code, do you mean CPU specific code, or aspects that > > apply in different ways to devices with the same CPU? Like, HP Jornada and > > the iPAQ 3650. Or is it some sort of cross-platform binary, that would > > work on StrongARM, SH4 and MIPS? > > In theory, ActiveSync converts CEF to device specific binary opcodes. > This doesn't compensate for differences in screen res or stuff, just ARM > vs. MIPS, vs .. ? Very interesting, indeed. Not FAT binaries, but actually translation? I wonder if a CEF bin has to be built with eVC++ only, not using any assembly, or if it can translate between anything on the CPUs it supports. Aaron From gollem@chatway.nl Wed Jul 31 21:32:14 2002 From: gollem@chatway.nl (gollem) Date: Wed, 31 Jul 2002 13:32:14 -0700 (PDT) Subject: [PythonCE] Toshiba PocketPC e740 Message-ID: <20020731203214.E29C93962@sitemail.everyone.net> While I don't understand everything in this discussion, if any definitive answers are arrived at they should go in a FAQ. Things like CE versions that are supported, processors that are supported etc. etc. I'm sure we could get some space at python.org for it. I'd be willing to do it but think that I lack the necessary expertise and a FAQ with wrong answers would be worse than none. _____________________________________________________________ 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