From frederic.mantegazza at gbiloba.org Mon Apr 7 19:29:40 2008 From: frederic.mantegazza at gbiloba.org (=?iso-8859-15?q?Fr=E9d=E9ric_Mantegazza?=) Date: Mon, 7 Apr 2008 18:29:40 +0100 Subject: [PythonCE] zip files Message-ID: <200804071929.41137.frederic.mantegazza@gbiloba.org> Hello, I finally got a used Pocket PC (Ipaq 2000), and I'm trying to download Tkinter. As I only found a zip (not auto-exctractible .exe file), where can I get a free zip archive handler? Thanks, -- Fr?d?ric http://www.gbiloba.org From frederic.mantegazza at gbiloba.org Mon Apr 7 20:45:49 2008 From: frederic.mantegazza at gbiloba.org (=?iso-8859-15?q?Fr=E9d=E9ric_Mantegazza?=) Date: Mon, 7 Apr 2008 19:45:49 +0100 Subject: [PythonCE] Installing PythonCE Message-ID: <200804072045.50357.frederic.mantegazza@gbiloba.org> I had troubles installing PythonCE on my Ipaq 2100: every .exe installer failed ("xxx is not a valid PocketPC app"); only the CAB file installed correctly. Am I missing something? -- Fr?d?ric http://www.gbiloba.org From frederic.mantegazza at gbiloba.org Mon Apr 7 23:48:25 2008 From: frederic.mantegazza at gbiloba.org (=?iso-8859-15?q?Fr=E9d=E9ric_Mantegazza?=) Date: Mon, 7 Apr 2008 22:48:25 +0100 Subject: [PythonCE] win32api Message-ID: <200804072348.26377.frederic.mantegazza@gbiloba.org> Does the win32api exist for PythonCE? I'm trying to write code that can work under linux, win and winCE. linux and win works fine, using this code: if sys.platform.startswith("linux") or sys.platform.startswith("Mac"): HOME_DIR = os.path.expandvars("$HOME") CONFIG_DIR = os.path.join(HOME_DIR, ".papywizard") try: os.mkdir(CONFIG_DIR) except OSError, (errno, errmsg): if errno == 17: pass else: raise TEMP_DIR = "/tmp" elif sys.platform.startswith("win"): import win32api HOME_DIR = win32api.ExpandEnvironmentStrings("%HOMEPATH%") CONFIG_DIR = os.path.join(HOME_DIR, ".papywizard") try: os.mkdir(CONFIG_DIR) except OSError, (errno, errmsg): if errno == 183: pass else: raise TEMP_DIR = CONFIG_DIR How can I add support for winCE? Thanks, -- Fr?d?ric http://www.gbiloba.org From christopher at christec.co.nz Tue Apr 8 01:33:42 2008 From: christopher at christec.co.nz (Christopher Fairbairn) Date: Mon, 07 Apr 2008 19:33:42 -0400 Subject: [PythonCE] Installing PythonCE Message-ID: <20080407233355.167671E4013@bag.python.org> Hi, On Tue Apr 8 6:45 , Fr?d?ric Mantegazza sent: >I had troubles installing PythonCE on my Ipaq 2100: every .exe installer >failed ("xxx is not a valid PocketPC app"); only the CAB file installed >correctly. No you are not missing anything. The CAB file is designed for installation directly on the PDA, while the *.exe installer is designed to be run on your Desktop PC (hence the error that it's not a valid Pocket PC app). The *.exe will register the nesscary cab files with ActiveSync so that PythonCE is automatically installed onto your connected PDA (and can be found in ActiveSync's Add/Remove Programs menu item). Essentially it downloads the CAB file via ActiveSync and then automatically installs it. Hope this helps, Christopher Fairbairn From frederic.mantegazza at gbiloba.org Tue Apr 8 07:24:57 2008 From: frederic.mantegazza at gbiloba.org (=?iso-8859-15?q?Fr=E9d=E9ric_Mantegazza?=) Date: Tue, 8 Apr 2008 06:24:57 +0100 Subject: [PythonCE] Installing PythonCE In-Reply-To: <20080407233355.167671E4013@bag.python.org> References: <20080407233355.167671E4013@bag.python.org> Message-ID: <200804080724.57882.frederic.mantegazza@gbiloba.org> On mardi 08 avril 2008, Christopher Fairbairn wrote: > The CAB file is designed for installation directly on the PDA, while the > *.exe installer is designed to be run on your Desktop PC (hence the > error that it's not a valid Pocket PC app). > > The *.exe will register the nesscary cab files with ActiveSync so that > PythonCE is automatically installed onto your connected PDA (and can be > found in ActiveSync's Add/Remove Programs menu item). Essentially it > downloads the CAB file via ActiveSync and then automatically installs > it. > > Hope this helps, Yes, it helps :o) My problem is that I work under Linux, without ActiveSync stuff... Do you know a way to install this kind of package? Is it possible to only extract the CAB, then download it using obexftp, for example? I think it is not the right list... Where can I ask such questions? Is there a list dedicated, developers oriented, where newbies are welcome? Thanks, -- Fr?d?ric http://www.gbiloba.org From coder_infidel at hotmail.com Tue Apr 8 07:29:55 2008 From: coder_infidel at hotmail.com (Luke Dunstan) Date: Tue, 8 Apr 2008 13:29:55 +0800 Subject: [PythonCE] zip files In-Reply-To: <200804071929.41137.frederic.mantegazza@gbiloba.org> References: <200804071929.41137.frederic.mantegazza@gbiloba.org> Message-ID: -------------------------------------------------- From: "Fr?d?ric Mantegazza" Sent: Tuesday, April 08, 2008 1:29 AM To: Subject: [PythonCE] zip files > Hello, > > I finally got a used Pocket PC (Ipaq 2000), and I'm trying to download > Tkinter. As I only found a zip (not auto-exctractible .exe file), where > can I get a free zip archive handler? > > Thanks, > > -- > Fr?d?ric Try http://www.ghisler.com/pocketpc.htm Luke From coder_infidel at hotmail.com Tue Apr 8 07:42:03 2008 From: coder_infidel at hotmail.com (Luke Dunstan) Date: Tue, 8 Apr 2008 13:42:03 +0800 Subject: [PythonCE] win32api In-Reply-To: <200804072348.26377.frederic.mantegazza@gbiloba.org> References: <200804072348.26377.frederic.mantegazza@gbiloba.org> Message-ID: -------------------------------------------------- From: "Fr?d?ric Mantegazza" Sent: Tuesday, April 08, 2008 5:48 AM To: Subject: [PythonCE] win32api > Does the win32api exist for PythonCE? I'm trying to write code that can > work under linux, win and winCE. linux and win works fine, using this > code: > > if sys.platform.startswith("linux") or sys.platform.startswith("Mac"): > HOME_DIR = os.path.expandvars("$HOME") > CONFIG_DIR = os.path.join(HOME_DIR, ".papywizard") > try: > os.mkdir(CONFIG_DIR) > except OSError, (errno, errmsg): > if errno == 17: > pass > else: > raise > TEMP_DIR = "/tmp" > elif sys.platform.startswith("win"): > import win32api > HOME_DIR = win32api.ExpandEnvironmentStrings("%HOMEPATH%") > CONFIG_DIR = os.path.join(HOME_DIR, ".papywizard") > try: > os.mkdir(CONFIG_DIR) > except OSError, (errno, errmsg): > if errno == 183: > pass > else: > raise > TEMP_DIR = CONFIG_DIR > > How can I add support for winCE? > > Thanks, > > -- > Fr?d?ric Hi, Generally speaking, if I were you I would avoid pywin32 and use ctypes for accessing the Win32 API, because it is included in both Python 2.5 and PythonCE 2.5. You would still need to handle differences between Windows and Windows CE though, e.g. Unicode vs ANSI, kernel32 vs coredll, etc. However, in this specific case that will not solve the problem because Windows CE does not have any concept of environment variables, multiple users or home directories. Luke From frederic.mantegazza at gbiloba.org Tue Apr 8 09:01:55 2008 From: frederic.mantegazza at gbiloba.org (=?ISO-8859-1?Q?Fr=E9d=E9ric?=) Date: Tue, 8 Apr 2008 09:01:55 +0200 (CEST) Subject: [PythonCE] win32api In-Reply-To: Message-ID: <9zZ1L4md.1207638115.3463120.fma@alezan.org> Le 8/4/2008, "Luke Dunstan" a ?crit: >Generally speaking, if I were you I would avoid pywin32 and use ctypes for >accessing the Win32 API, because it is included in both Python 2.5 and >PythonCE 2.5. You would still need to handle differences between Windows and >Windows CE though, e.g. Unicode vs ANSI, kernel32 vs coredll, etc. Thanks for the advice. >However, in this specific case that will not solve the problem because >Windows CE does not have any concept of environment variables, multiple >users or home directories. Ok. So, what is the correct way to do that? Where should I put the config file? How do I retreive the path? From frederic.mantegazza at gbiloba.org Tue Apr 8 17:37:06 2008 From: frederic.mantegazza at gbiloba.org (=?iso-8859-15?q?Fr=E9d=E9ric_Mantegazza?=) Date: Tue, 8 Apr 2008 16:37:06 +0100 Subject: [PythonCE] zip files In-Reply-To: References: <200804071929.41137.frederic.mantegazza@gbiloba.org> Message-ID: <200804081737.06548.frederic.mantegazza@gbiloba.org> On mardi 08 avril 2008, Luke Dunstan wrote: > Try http://www.ghisler.com/pocketpc.htm Great! Thanks :o) -- Fr?d?ric http://www.gbiloba.org From frederic.mantegazza at gbiloba.org Tue Apr 8 17:49:40 2008 From: frederic.mantegazza at gbiloba.org (=?iso-8859-15?q?Fr=E9d=E9ric_Mantegazza?=) Date: Tue, 8 Apr 2008 16:49:40 +0100 Subject: [PythonCE] Launch a .py script Message-ID: <200804081749.40950.frederic.mantegazza@gbiloba.org> Is there a way to associate .py files to python interpreter, to be able to launch a python script by clicking on it? -- Fr?d?ric http://www.gbiloba.org From frederic.mantegazza at gbiloba.org Tue Apr 8 18:19:11 2008 From: frederic.mantegazza at gbiloba.org (=?iso-8859-15?q?Fr=E9d=E9ric_Mantegazza?=) Date: Tue, 8 Apr 2008 17:19:11 +0100 Subject: [PythonCE] Launch a .py script In-Reply-To: <200804081749.40950.frederic.mantegazza@gbiloba.org> References: <200804081749.40950.frederic.mantegazza@gbiloba.org> Message-ID: <200804081819.12097.frederic.mantegazza@gbiloba.org> On mardi 08 avril 2008, Fr?d?ric Mantegazza wrote: > Is there a way to associate .py files to python interpreter, to be able > to launch a python script by clicking on it? Sorry, it works fine with the default explorer (but not with Total Commander). -- Fr?d?ric http://www.gbiloba.org From frederic.mantegazza at gbiloba.org Tue Apr 8 18:31:03 2008 From: frederic.mantegazza at gbiloba.org (=?iso-8859-15?q?Fr=E9d=E9ric_Mantegazza?=) Date: Tue, 8 Apr 2008 17:31:03 +0100 Subject: [PythonCE] Tkinter captures the little "X" close window button? In-Reply-To: <15873131.post@talk.nabble.com> References: <15852528.post@talk.nabble.com> <200803051718.12363.frederic.mantegazza@gbiloba.org> <15873131.post@talk.nabble.com> Message-ID: <200804081831.03831.frederic.mantegazza@gbiloba.org> On jeudi 06 mars 2008, Jim Walsh wrote: > I want my pythonce Tkinter window to look like all good WindowsCE > windows: using the top of the screen as the title bar and the little X > up there. I have a similar question, but at the opposite way... My root window is normaly shown with its title bar visible. But if I open a second window, defined as a Toplevel widget with my root window as parent, then this window does not have a title bar, or it is under the WinCE bar (I don't know)... I would like to keep its title bar visible. How to do that? Thanks, -- Fr?d?ric http://www.gbiloba.org From frederic.mantegazza at gbiloba.org Wed Apr 9 13:13:28 2008 From: frederic.mantegazza at gbiloba.org (=?ISO-8859-1?Q?Fr=E9d=E9ric?=) Date: Wed, 9 Apr 2008 13:13:28 +0200 (CEST) Subject: [PythonCE] Tkinter captures the little "X" close window button? In-Reply-To: <200804081831.03831.frederic.mantegazza@gbiloba.org> Message-ID: Le 8/4/2008, "Fr?d?ric Mantegazza a ?crit: >My root window is normaly shown with its title bar visible. But if I open a >second window, defined as a Toplevel widget with my root window as parent, >then this window does not have a title bar, or it is under the WinCE bar >(I don't know)... I din't realized that I have another issue: my Tk root window has menus, but I can't see them on my PPC it (works fine under win32 and linux)... Any idea? The code is available here: http://trac.gbiloba.org/papywizard/browser/trunk/view/mainWindow.py From david.parman at gmail.com Wed Apr 9 16:00:49 2008 From: david.parman at gmail.com (David Parman) Date: Wed, 9 Apr 2008 09:00:49 -0500 Subject: [PythonCE] Executing .py scripts Message-ID: <357c14040804090700p159a16ei58919f53c7f24d8a@mail.gmail.com> I loaded PythonCE on my Dell Axim and it seems to run Ok, but I can't figure out how to get it to load a .py file and execute it. I installed in accordance with instructions on teh download site, which was simply to unzip the files on my PC, then copy them into their appropriate folders on the Axim. Nothing got registered with CE using this method. So, how do I load and execute .py files, or other file types (such as python script inside a .txt file, which is the only kind of text file PocketWord wants to deal with)? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.python.org/pipermail/pythonce/attachments/20080409/ae496ff0/attachment.htm From mdoukidis at gmail.com Thu Apr 10 10:17:02 2008 From: mdoukidis at gmail.com (Mark Doukidis) Date: Thu, 10 Apr 2008 16:17:02 +0800 Subject: [PythonCE] PyCrypto binaries - where are they ? Message-ID: <8d8511040804100117s49a6fa76ke5603e18c060cb2c@mail.gmail.com> Greetings all, Long time since I have touched PythonCE but looks like I have another chance. My last "fiddle" used PythonCE 2.3 along with PyCrypto. It is good to see a little more activity on the list and the latest PythonCE version (2.5) for Windows Mobile 6. I am looking for PyCrypto binaries for PythonCE but they seem to have evaporated. A July 2007 post mentioned they would be available from http://www.voidspace.org.uk/ but I cant find them. Are they available or is the recommendation to "roll your own" ? Mark Doukidis From frederic.mantegazza at gbiloba.org Sat Apr 12 08:39:21 2008 From: frederic.mantegazza at gbiloba.org (=?iso-8859-15?q?Fr=E9d=E9ric_Mantegazza?=) Date: Sat, 12 Apr 2008 08:39:21 +0200 Subject: [PythonCE] File with linux terminator char editor Message-ID: <200804120839.22029.frederic.mantegazza@gbiloba.org> Hi, As I develop under linux, my files are not well displayed on the PPC because of the different terminator type used. Do you know a nice editor on PPC able to deal with both terminators types? Thanks, -- Fr?d?ric http://www.gbiloba.org From david-pyceml at lestat.st Tue Apr 15 17:55:27 2008 From: david-pyceml at lestat.st (David Goncalves) Date: Tue, 15 Apr 2008 17:55:27 +0200 Subject: [PythonCE] File with linux terminator char editor In-Reply-To: <200804120839.22029.frederic.mantegazza@gbiloba.org> References: <200804120839.22029.frederic.mantegazza@gbiloba.org> Message-ID: <4804CFEF.8010106@lestat.st> hi, > As I develop under linux, my files are not well displayed on the PPC > because of the different terminator type used. > > Do you know a nice editor on PPC able to deal with both terminators types? You can try UKEditor (the website is in japanese). It handles the different encodings. By the way, devellopping on a PPC is a little bit hard ;) Regards. From frederic.mantegazza at gbiloba.org Tue Apr 15 18:22:25 2008 From: frederic.mantegazza at gbiloba.org (=?iso-8859-15?q?Fr=E9d=E9ric_Mantegazza?=) Date: Tue, 15 Apr 2008 18:22:25 +0200 Subject: [PythonCE] File with linux terminator char editor In-Reply-To: <4804CFEF.8010106@lestat.st> References: <200804120839.22029.frederic.mantegazza@gbiloba.org> <4804CFEF.8010106@lestat.st> Message-ID: <200804151822.25389.frederic.mantegazza@gbiloba.org> On mardi 15 avril 2008, David Goncalves wrote: > > Do you know a nice editor on PPC able to deal with both terminators > > types? > > You can try UKEditor (the website is in japanese). > It handles the different encodings. Thanks :o) > By the way, devellopping on a PPC is a little bit hard ;) Yes, I see that! I've just bought a used Nokia 770, under linux... I will see if it is easier... -- Fr?d?ric http://www.gbiloba.org From sleepingbull at gmail.com Sat Apr 19 02:16:10 2008 From: sleepingbull at gmail.com (Matt S.) Date: Fri, 18 Apr 2008 17:16:10 -0700 Subject: [PythonCE] wxPython for Python 2.5? Message-ID: Hi everyone, Hope you're well. This past week I tried building wxPyCE for Python 2.5. The directions for building wx for 2.4 are at, http://wxpyce.wikispaces.com/Build I succeeded at building for 2.4 but not for 2.5. After catching up on PythonCE emails over the past year it seems that wxPyCE has lost its mojo. Ingmar Steen, who did a really nice job porting for 2.4 and documenting it, seems to have lost interest. Alexandre mentioned he would compile... but it's not clear that he has done so. I don't know the least about compiling, SWIG, etc... and I don't really have time to master these tasks. Has anyone ported wxPythonCE to Python2.5? If someone wants to give me guidance on how to get wx running for 2.5 I'd be happy to try to compile it/document how to do it/etc. Why am I interested in wxPyCE? I've been able to make a pretty cool wx app for the PPC2003. Two things motivated me to update my app to 2.5. First, I wanted to pickle a class object (that holds all my data and is pretty complicated). This works fine in 2.4 on the PC but not on the PocketPC. I was hoping updating to 2.5 would solve my problem. Unfortunately, just trying out 2.5 has snowballed into a major effort. In going to 2.5 I was also looking forward to ctypes being included in the distro. An additional motivation was just to keep my app current. Well, any help is greatly appreciated. Here's a little info on my failed hack attempt: When I tried to compile for 2.5 I had to rename /python/lib/python25.lib to python24.lib. Somewhere in the wxpyce.vcw project, when trying to compile _core_files, etc. there is a dependency on the lib being name python24.lib. So I tried to hack this by renaming 25 to 24. Things then compile alright. But when I start up PythonCE 2.5 and import wx I get _core_ errors. It seems that wx is looking for _core_ but there is only _core. I just tried replacing "import _core_" to "import _core as _core_" but then I get a _core_.wxPySetDictionary error. I'm guessing this method doesn't exist in the 2.4 wx source. Clearly my hacking skills have hit a ceiling. Best regards, Matt -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.python.org/pipermail/pythonce/attachments/20080418/c02f7148/attachment.htm From sleepingbull at gmail.com Mon Apr 21 07:16:05 2008 From: sleepingbull at gmail.com (Matt S.) Date: Sun, 20 Apr 2008 22:16:05 -0700 Subject: [PythonCE] wxPython for Python 2.5? In-Reply-To: <2b1f9aa40804202005g48401d25g9bf867bc14eac42c@mail.gmail.com> References: <2b1f9aa40804202005g48401d25g9bf867bc14eac42c@mail.gmail.com> Message-ID: It wasn't clear to me whether the memory wasn't sufficient or simply less than ideal. Anyone else interested in wxPython for PythonCE 2.5? It takes a village... Matt On Sun, Apr 20, 2008 at 8:05 PM, Lanser wrote: > I remeber the author said wxPyCE can't build for Python 2.5 since the > memory map is unsuitable. > But hope you would have luck! > > On Sat, Apr 19, 2008 at 8:16 AM, Matt S. wrote: > > > Hi everyone, > > > > Hope you're well. This past week I tried building wxPyCE for Python > > 2.5. The directions for building wx for 2.4 are at, > > > > http://wxpyce.wikispaces.com/Build > > > > I succeeded at building for 2.4 but not for 2.5. After catching up on > > PythonCE emails over the past year it seems that wxPyCE has lost its mojo. > > Ingmar Steen, who did a really nice job porting for 2.4 and documenting it, > > seems to have lost interest. Alexandre mentioned he would compile... but > > it's not clear that he has done so. I don't know the least about compiling, > > SWIG, etc... and I don't really have time to master these tasks. Has anyone > > ported wxPythonCE to Python2.5? If someone wants to give me guidance on how > > to get wx running for 2.5 I'd be happy to try to compile it/document how to > > do it/etc. > > > > Why am I interested in wxPyCE? I've been able to make a pretty cool wx > > app for the PPC2003. Two things motivated me to update my app to 2.5. > > First, I wanted to pickle a class object (that holds all my data and is > > pretty complicated). This works fine in 2.4 on the PC but not on the > > PocketPC. I was hoping updating to 2.5 would solve my problem. > > Unfortunately, just trying out 2.5 has snowballed into a major effort. In > > going to 2.5 I was also looking forward to ctypes being included in the > > distro. An additional motivation was just to keep my app current. Well, > > any help is greatly appreciated. > > > > Here's a little info on my failed hack attempt: > > When I tried to compile for 2.5 I had to rename /python/lib/python25.lib > > to python24.lib. Somewhere in the wxpyce.vcw project, when trying to > > compile _core_files, etc. there is a dependency on the lib being name > > python24.lib. So I tried to hack this by renaming 25 to 24. Things then > > compile alright. But when I start up PythonCE 2.5 and import wx I get > > _core_ errors. It seems that wx is looking for _core_ but there is only > > _core. I just tried replacing "import _core_" to "import _core as _core_" > > but then I get a _core_.wxPySetDictionary error. I'm guessing this method > > doesn't exist in the 2.4 wx source. Clearly my hacking skills have hit a > > ceiling. > > > > Best regards, > > Matt > > > > _______________________________________________ > > PythonCE mailing list > > PythonCE at python.org > > http://mail.python.org/mailman/listinfo/pythonce > > > > > > > -- > Powered by interests. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.python.org/pipermail/pythonce/attachments/20080420/5e35df97/attachment.htm From khorton01 at rogers.com Mon Apr 21 09:27:52 2008 From: khorton01 at rogers.com (Kevin Horton) Date: Mon, 21 Apr 2008 08:27:52 +0100 Subject: [PythonCE] wxPython for Python 2.5? In-Reply-To: References: <2b1f9aa40804202005g48401d25g9bf867bc14eac42c@mail.gmail.com> Message-ID: I'm interested, but have no relevant skills beyond an innate ability to break things. I might be a good tester :) -- Kevin Horton On 21 Apr 2008, at 06:16, Matt S. wrote: > It wasn't clear to me whether the memory wasn't sufficient or > simply less than ideal. Anyone else interested in wxPython for > PythonCE 2.5? It takes a village... > > Matt > > On Sun, Apr 20, 2008 at 8:05 PM, Lanser wrote: > I remeber the author said wxPyCE can't build for Python 2.5 since > the memory map is unsuitable. > But hope you would have luck! > > On Sat, Apr 19, 2008 at 8:16 AM, Matt S. wrote: > Hi everyone, > > Hope you're well. This past week I tried building wxPyCE for > Python 2.5. The directions for building wx for 2.4 are at, From jln at iafrica.com Mon Apr 21 18:32:00 2008 From: jln at iafrica.com (Jacques Naude) Date: Mon, 21 Apr 2008 18:32:00 +0200 Subject: [PythonCE] wxPython for Python 2.5? In-Reply-To: References: <2b1f9aa40804202005g48401d25g9bf867bc14eac42c@mail.gmail.com> Message-ID: <480CC180.2010101@iafrica.com> I'm also very interested, but my hacking skills haven't even lifted off the ground... Kevin Horton wrote: > I'm interested, but have no relevant skills beyond an innate ability > to break things. I might be a good tester :) > > -- > Kevin Horton > > On 21 Apr 2008, at 06:16, Matt S. wrote: > > >> It wasn't clear to me whether the memory wasn't sufficient or >> simply less than ideal. Anyone else interested in wxPython for >> PythonCE 2.5? It takes a village... >> >> Matt >> >> On Sun, Apr 20, 2008 at 8:05 PM, Lanser wrote: >> I remeber the author said wxPyCE can't build for Python 2.5 since >> the memory map is unsuitable. >> But hope you would have luck! >> >> On Sat, Apr 19, 2008 at 8:16 AM, Matt S. wrote: >> Hi everyone, >> >> Hope you're well. This past week I tried building wxPyCE for >> Python 2.5. The directions for building wx for 2.4 are at, >> > > _______________________________________________ > PythonCE mailing list > PythonCE at python.org > http://mail.python.org/mailman/listinfo/pythonce > > -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/x-pkcs7-signature Size: 3229 bytes Desc: S/MIME Cryptographic Signature Url : http://mail.python.org/pipermail/pythonce/attachments/20080421/3c35a6e7/attachment.bin From sleepingbull at gmail.com Mon Apr 21 20:21:44 2008 From: sleepingbull at gmail.com (Matt S.) Date: Mon, 21 Apr 2008 11:21:44 -0700 Subject: [PythonCE] wxPython for Python 2.5? In-Reply-To: <480CD450.6050003@gmail.com> References: <480CD450.6050003@gmail.com> Message-ID: My co-worker just forwarded me this parallel inquiry about the status of wxPyCE on the wxpython-users list. Let's keep it rollin'. Matt ------- Original Message -------- Subject: Re: [wxpython-users] WinCE port Date: Sun, 20 Apr 2008 15:18:53 +0200 From: Paul Sijben Reply-To: wxpython-users at lists.wxwidgets.org All, I have been looking into the local mobile web alternative for a bit and I found that it will not solve my problem. My project needs a WM6 client that can update the screen in response from asynchronous events from my server. The mobile internet explorer is based on IE4 and then restricted. This means that clever AJAX-like things do not work. For me this means I am back in the position that I need a client on windows mobile. An available wxPython port for windows mobile would be the shortest route (1). Another python-based GUI tool (2) or re-implementing my client in Java (3) would be alternatives. ad 1) Now the wxPython CE port is dead correct? What would it take to resurrect it? Anyone has any ideas? ad 2) alternatives, euhm. Venster CE was abandoned by its creators for something new (PocketPyGui) but that hasn't materialized as far as I can see. I just sent an email to the developer of that project so let's see what happens. ad 3) that seems like a lot of work but at least there is a known path forward. Does anyone have any input on this? Maybe interested parties could pool resources? I certainly have an _immediate job opening for someone who can solve this problem for me_ and would certainly be willing to donate code and binaires back to the community if we can resurrect wxPyCE for instance so I can have my client on Windows Mobile 6 sooner rather than later. Paul Sijben -- Paul Sijben tel: +31334566488 Eemvalley Technology fax: +31334557523 the Netherlands http://eemvalley.com On Mon, Apr 21, 2008 at 10:52 AM, Stef Mientki wrote: > I'm too very interested, > not specially for the 2.5 but I expect a better wxPython implementation. > Unfortunately I'm just a simple *user *and besides that too busy with some > other (very large) Python projects. > Wouldn't it be a good idea to post this also in wxPython discussion list ? > > cheers, > Stef > > Matt S. wrote: > > > Hi everyone, > > > > Hope you're well. This past week I tried building wxPyCE for Python > > 2.5. The directions for building wx for 2.4 are at, > > > > http://wxpyce.wikispaces.com/Build > > > > I succeeded at building for 2.4 but not for 2.5. After catching up on > > PythonCE emails over the past year it seems that wxPyCE has lost its mojo. > > Ingmar Steen, who did a really nice job porting for 2.4 and documenting it, > > seems to have lost interest. Alexandre mentioned he would compile... but > > it's not clear that he has done so. I don't know the least about compiling, > > SWIG, etc... and I don't really have time to master these tasks. Has anyone > > ported wxPythonCE to Python2.5? If someone wants to give me guidance on how > > to get wx running for 2.5 I'd be happy to try to compile it/document how to > > do it/etc. > > Why am I interested in wxPyCE? I've been able to make a pretty cool wx > > app for the PPC2003. Two things motivated me to update my app to 2.5. > > First, I wanted to pickle a class object (that holds all my data and is > > pretty complicated). This works fine in 2.4 on the PC but not on the > > PocketPC. I was hoping updating to 2.5 would solve my problem. > > Unfortunately, just trying out 2.5 has snowballed into a major effort. In > > going to 2.5 I was also looking forward to ctypes being included in the > > distro. An additional motivation was just to keep my app current. Well, > > any help is greatly appreciated. > > > > Here's a little info on my failed hack attempt: > > When I tried to compile for 2.5 I had to rename /python/lib/python25.lib > > to python24.lib. Somewhere in the wxpyce.vcw project, when trying to > > compile _core_files, etc. there is a dependency on the lib being name > > python24.lib. So I tried to hack this by renaming 25 to 24. Things then > > compile alright. But when I start up PythonCE 2.5 and import wx I get > > _core_ errors. It seems that wx is looking for _core_ but there is only > > _core. I just tried replacing "import _core_" to "import _core as _core_" > > but then I get a _core_.wxPySetDictionary error. I'm guessing this method > > doesn't exist in the 2.4 wx source. Clearly my hacking skills have hit a > > ceiling. > > Best regards, > > Matt > > ------------------------------------------------------------------------ > > > > _______________________________________________ > > PythonCE mailing list > > PythonCE at python.org > > http://mail.python.org/mailman/listinfo/pythonce > > > > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.python.org/pipermail/pythonce/attachments/20080421/446bb831/attachment.htm From alexandre.delattre at telecom-bretagne.eu Thu Apr 24 00:05:28 2008 From: alexandre.delattre at telecom-bretagne.eu (alexandre.delattre at telecom-bretagne.eu) Date: Thu, 24 Apr 2008 00:05:28 +0200 Subject: [PythonCE] PocketPyGui Message-ID: <20080424000528.8pdzmr4pess04gc4@webmail.enst-bretagne.fr> Hi all, I've just release the first public beta of ppygui. You can read more and browse the WIP docs at . Direct download is available from sourceforge at . The install process is graphically based to encourage trying and (re-)distribution. Also, feel free to post your questions and feedback on sourceforge. Later on, I'll publish some of my open source apps including a jabber client, for bigger applications using ppygui. Regards, Alexandre From stef.mientki at gmail.com Thu Apr 24 01:06:11 2008 From: stef.mientki at gmail.com (Stef Mientki) Date: Thu, 24 Apr 2008 01:06:11 +0200 Subject: [PythonCE] PocketPyGui In-Reply-To: <20080424000528.8pdzmr4pess04gc4@webmail.enst-bretagne.fr> References: <20080424000528.8pdzmr4pess04gc4@webmail.enst-bretagne.fr> Message-ID: <480FC0E3.5050008@gmail.com> alexandre.delattre at telecom-bretagne.eu wrote: > Hi all, > > I've just release the first public beta of ppygui. > You can read more and browse the WIP docs at . > > Direct download is available from sourceforge at > . > > The install process is graphically based to encourage trying and > (re-)distribution. > Also, feel free to post your questions and feedback on sourceforge. > > Later on, I'll publish some of my open source apps including a jabber > client, for bigger applications using ppygui. > > Regards, > Alexandre > > _______________________________________________ > PythonCE mailing list > PythonCE at python.org > http://mail.python.org/mailman/listinfo/pythonce thanks Alexandre, this looks like a real good replacement for the dead wxPython package. cheers, Stef Mientki From rohanasmith at gmail.com Thu Apr 24 06:01:04 2008 From: rohanasmith at gmail.com (Rohan Smith) Date: Wed, 23 Apr 2008 23:01:04 -0500 Subject: [PythonCE] Is pythonCE only for ARM processors Message-ID: <44659aeb0804232101v1ba6e4e5u5f33c3f890fb5dec@mail.gmail.com> I have installed WinCE6 on an x86 embedded system, Does pyrthon support x86 architectures, since I realize most PDA/Handhelds use ARM Processors -------------- next part -------------- An HTML attachment was scrubbed... URL: From ashish_lal at hotmail.com Fri Apr 25 14:11:39 2008 From: ashish_lal at hotmail.com (Ashish Lal) Date: Fri, 25 Apr 2008 08:11:39 -0400 Subject: [PythonCE] python port for embedded linux Message-ID: Does anyone know of a python port for embedded linux. I want to use it to do some "basic" scripting in python, mostly involving a library that we will develop. Nothing more. But this is on embedded linux, not WinCE. I think this list is the best place to place this question. though it is for WinCE. Any pointers would be deeply appreciated. Regards, --Ashish -------------- next part -------------- An HTML attachment was scrubbed... URL: From lists at nanl.de Sat Apr 26 11:26:08 2008 From: lists at nanl.de (d@tenmaulwurf) Date: Sat, 26 Apr 2008 11:26:08 +0200 Subject: [PythonCE] python port for embedded linux In-Reply-To: References: Message-ID: <4812F530.6020708@nanl.de> Hey, it depends against which type of embedded C-library you link(ed) pythonce. E.g. if your mebedded Linux-distribution uses the uclibc, you have to search for x86-binaries compiled against that version of c-library. Same with dietlibc, normal libc, etc. Which type of embedded linux-distribution are you using? Greetz d at ten Ashish Lal wrote: > Does anyone know of a python port for embedded linux. I want to use it > to do some "basic" scripting in python, mostly involving a library that > we will develop. Nothing more. But this is on embedded linux, not WinCE. > > I think this list is the best place to place this question. though it is > for WinCE. > > Any pointers would be deeply appreciated. > > Regards, > --Ashish > > > ------------------------------------------------------------------------ > > _______________________________________________ > PythonCE mailing list > PythonCE at python.org > http://mail.python.org/mailman/listinfo/pythonce From ashish_lal at hotmail.com Sat Apr 26 12:28:21 2008 From: ashish_lal at hotmail.com (Ashish Lal) Date: Sat, 26 Apr 2008 06:28:21 -0400 Subject: [PythonCE] python port for embedded linux In-Reply-To: <4812F530.6020708@nanl.de> References: <4812F530.6020708@nanl.de> Message-ID: Hi - We have an embedded device with 8MB flash and 32 MB RAM with ARM 9 processor runining 2.6.XX. kernel. We just used standard linux (Debian) and configured (or hacked it) to suit our needs. I am looking for a python distribution that has the math library, some IPC mechanisms and some string functions. Thats all. Any pointers on a python distribution for embedded applications is deeply appreciated. I have looked at distributions like tinypy etc. Regards, --Ashish> Date: Sat, 26 Apr 2008 11:26:08 +0200> From: lists at nanl.de> To: pythonce at python.org> Subject: Re: [PythonCE] python port for embedded linux> > Hey,> > it depends against which type of embedded C-library you link(ed) pythonce.> E.g. if your mebedded Linux-distribution uses the uclibc, you have to search for x86-binaries compiled against that version of c-library.> Same with dietlibc, normal libc, etc.> Which type of embedded linux-distribution are you using?> > Greetz> > d at ten> > Ashish Lal wrote:> > Does anyone know of a python port for embedded linux. I want to use it> > to do some "basic" scripting in python, mostly involving a library that> > we will develop. Nothing more. But this is on embedded linux, not WinCE.> > > > I think this list is the best place to place this question. though it is> > for WinCE.> > > > Any pointers would be deeply appreciated.> > > > Regards,> > --Ashish> > > > > > ------------------------------------------------------------------------> > > > _______________________________________________> > 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: From coder_infidel at hotmail.com Sun Apr 27 05:16:22 2008 From: coder_infidel at hotmail.com (Luke Dunstan) Date: Sun, 27 Apr 2008 11:16:22 +0800 Subject: [PythonCE] python port for embedded linux In-Reply-To: <4812F530.6020708@nanl.de> References: <4812F530.6020708@nanl.de> Message-ID: Hi, Have you tried just building the normal Python source with your cross compiler? I expect that there would be a lot less porting problems than Windows CE. For the same reason, the main Python mailing list may give you more responses. Luke From: Ashish Lal Sent: Saturday, April 26, 2008 6:28 PM To: d at tenmaulwurf ; pythonce at python.org Subject: Re: [PythonCE] python port for embedded linux Hi - We have an embedded device with 8MB flash and 32 MB RAM with ARM 9 processor runining 2.6.XX. kernel. We just used standard linux (Debian) and configured (or hacked it) to suit our needs. I am looking for a python distribution that has the math library, some IPC mechanisms and some string functions. Thats all. Any pointers on a python distribution for embedded applications is deeply appreciated. I have looked at distributions like tinypy etc. Regards, --Ashish > Date: Sat, 26 Apr 2008 11:26:08 +0200 > From: lists at nanl.de > To: pythonce at python.org > Subject: Re: [PythonCE] python port for embedded linux > > Hey, > > it depends against which type of embedded C-library you link(ed) pythonce. > E.g. if your mebedded Linux-distribution uses the uclibc, you have to search for x86-binaries compiled against that version of c-library. > Same with dietlibc, normal libc, etc. > Which type of embedded linux-distribution are you using? > > Greetz > > d at ten > > Ashish Lal wrote: > > Does anyone know of a python port for embedded linux. I want to use it > > to do some "basic" scripting in python, mostly involving a library that > > we will develop. Nothing more. But this is on embedded linux, not WinCE. > > > > I think this list is the best place to place this question. though it is > > for WinCE. > > > > Any pointers would be deeply appreciated. > > > > Regards, > > --Ashish > > > > > > ------------------------------------------------------------------------ > > > > _______________________________________________ > > 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 ------------------------------------------------------------------------------ _______________________________________________ PythonCE mailing list PythonCE at python.org http://mail.python.org/mailman/listinfo/pythonce -------------- next part -------------- An HTML attachment was scrubbed... URL: From bkc at murkworks.com Sun Apr 27 15:42:44 2008 From: bkc at murkworks.com (Brad Clements) Date: Sun, 27 Apr 2008 09:42:44 -0400 Subject: [PythonCE] python port for embedded linux In-Reply-To: References: <4812F530.6020708@nanl.de> Message-ID: <481482D4.6060502@murkworks.com> Four or more years ago I cross compiled Python for an older ARM processor (no mmap support), I statically linked with uclibc and libxslt/libxml2. It worked and performed reasonably. I just used the base Python source. The only problem I had was the Python's makefile tries to compile itself twice, clearly that didn't work in a cross-compile situation but I worked around it by changing the makefile. I think I had posted some suggestions to python-dev list about how to better support cross-compile development. I don't remember and I don't know if they accepted my suggestions. Ashish Lal wrote: > Hi - > > We have an embedded device with 8MB flash and 32 MB RAM with ARM 9 > processor runining 2.6.XX. kernel. We just used standard linux > (Debian) and configured (or hacked it) to suit our needs. I am looking > for a python distribution that has the math library, some IPC > mechanisms and some string functions. Thats all. > > Any pointers on a python distribution for embedded applications is > deeply appreciated. > I have looked at distributions like tinypy etc. > > Regards, > --Ashish -- Brad Clements, bkc at murkworks.com (315)268-1000 http://www.murkworks.com AOL-IM: BKClements From christopher at christec.co.nz Mon Apr 28 08:41:07 2008 From: christopher at christec.co.nz (Christopher Fairbairn) Date: Mon, 28 Apr 2008 18:41:07 +1200 Subject: [PythonCE] Is pythonCE only for ARM processors In-Reply-To: <44659aeb0804232101v1ba6e4e5u5f33c3f890fb5dec@mail.gmail.com> References: <44659aeb0804232101v1ba6e4e5u5f33c3f890fb5dec@mail.gmail.com> Message-ID: Hi, On 24/04/2008, at 4:01 PM, Rohan Smith wrote: > I have installed WinCE6 on an x86 embedded system, Does pyrthon > support x86 architectures, since I realize most PDA/Handhelds use > ARM Processors The releases on the sourceforge website are for Windows Mobile based devices and hence ARM architecture only. There have been a couple of un-official Windows CE (non aygshell enabled) and X86 releases made at various times. But I wouldn't know where to point you with respect to downloading one. It's fairly each to switch the source to build for X86 instead of ARM, from memory the only major change required is to switch the libffi library back to the X86 version. If your platform doesn't have the aygshell support included there is also a small amount of GUI editing required to use standard Windows CE style menus etc. Mainly the lack of X86 realeases has been due to lack of interest / support in such a build. If your Windows CE device has command shell support it is even possible to build the standard python executable (with it's command line support etc). Hope this helps, Christopher Fairbairn