From rdsteph at mac.com Wed Nov 1 22:19:39 2006 From: rdsteph at mac.com (awaretek) Date: Wed, 1 Nov 2006 13:19:39 -0800 (PST) Subject: [PythonCE] pythonce on Motorola Q? Message-ID: <7122789.post@talk.nabble.com> Has anyone been able to get pythonce up and running on a Motorola Q? I have tried the various versions on Sourceforge, but I get the error message "not intended for this device" when I attempt to load them on my phone. We know pythonce runs on Moibile System 5.0 devices, but I haven't yet heard from anyone who has it on the Q. I'm not sure why it woudl be different, but it seems to be. Ron Stephens -- View this message in context: http://www.nabble.com/pythonce-on-Motorola-Q--tf2556017.html#a7122789 Sent from the Python - pythonce mailing list archive at Nabble.com. From coder_infidel at hotmail.com Thu Nov 2 13:15:37 2006 From: coder_infidel at hotmail.com (Luke Dunstan) Date: Thu, 2 Nov 2006 20:15:37 +0800 Subject: [PythonCE] pythonce on Motorola Q? References: <7122789.post@talk.nabble.com> Message-ID: ----- Original Message ----- From: "awaretek" To: Sent: Thursday, November 02, 2006 5:19 AM Subject: [PythonCE] pythonce on Motorola Q? > > Has anyone been able to get pythonce up and running on a Motorola Q? I > have > tried the various versions on Sourceforge, but I get the error message > "not > intended for this device" when I attempt to load them on my phone. > > We know pythonce runs on Moibile System 5.0 devices, but I haven't yet > heard > from anyone who has it on the Q. I'm not sure why it woudl be different, > but > it seems to be. > > Ron Stephens Apparently applications built for "Pocket PC" are not binary compatible with "Smartphone". Are you a C/C++ programmer? If so, can you try compiling PythonCE yourself for Smartphone? Luke From eckhardt at satorlaser.com Fri Nov 3 12:21:14 2006 From: eckhardt at satorlaser.com (Ulrich Eckhardt) Date: Fri, 3 Nov 2006 12:21:14 +0100 Subject: [PythonCE] How to load unsigned old executable files In-Reply-To: <7067644.post@talk.nabble.com> References: <7067644.post@talk.nabble.com> Message-ID: <200611031221.14861.eckhardt@satorlaser.com> On Monday 30 October 2006 01:47, awaretek wrote: > I loaded it [a program] on my windows mobile system 5.0 phone > (Motorla Q) but when I click to execute it I get an error mesasge > "unsigned .exe can not be trusted). How can I "set permissions" > properly (to use Linux terminology) to use this old .exe file? Since this has zero to do with Python, you might want to take it to a CE related group. However, I'd consider throwing the errormessage at google first, as others are likely to have encountered and solved the error before you. Uli ************************************************************************************** Visit our website at ************************************************************************************** Diese E-Mail und jede mit dieser E-Mail versandte Datei ist vertraulich und ausschlie?lich f?r die Nutzung durch den vorgesehenen Empf?nger bestimmt. Sollten Sie nicht der vorgesehene Empf?nger dieser E-Mail sein, informieren Sie bitte den Absender. Jeder unbefugte Zugriff oder unbefugte Weiterleitung, die Fertigung einer Kopie oder sonstige in diesem Zusammenhang stehende Handlung ist untersagt. This e-mail and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this e-mail in error, please be so kind to inform the sender. Any other unauthorised access, unauthorised forwarding, copying or other action in this connection at all, is prohibited. ************************************************************************************** From alexandre.delattre at enst-bretagne.fr Mon Nov 6 18:04:27 2006 From: alexandre.delattre at enst-bretagne.fr (Alexandre Delattre) Date: Mon, 06 Nov 2006 18:04:27 +0100 Subject: [PythonCE] VensterCE Message-ID: <454F6B1B.8010604@enst-bretagne.fr> I have started a port of Venster for PythonCE, This port lacks maturity by now, but i have managed to run some test applications using common controls, custom dialogs and gdi graphics on my win mobile 5 device (Acer n311). What is done : * Working versions of windows.py, wtl.py, wtl_core.py, comctl.py, dialog.py and gdi.py * I have written convenience functions for handling Software Input Panel, Fullscreen Dialogs and Context Menus What does not work : * All modules using ctypes.comtypes (atl and html modules) . * Original venster test apps need to be tweaked to run correctly. * Common dialogs (Open, Save, Choose Font, ...). * I have managed to make native menus on win mobile 5, but it did not work on pocket pc 2003 (Dell Axim), however an empty menubar works on both. I use PythonCE 2.4.3, ctypes-0.9.9.6 and the "Force Hi-Res" utility. I have launched a project at sourceforge (vensterce) and i will upload my alpha version as soon as the project is accepted. PythonCE users will be welcomed to test it, use it, modify it and make suggestions. When the port will be more mature, it would be interesting to write a more "pythonic" wrapper on it, or something compatible with wxWidgets for portability. Alexandre Delattre -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.python.org/pipermail/pythonce/attachments/20061106/dbe9adb7/attachment.html From infopazo at hdsnet.hu Tue Nov 7 09:33:34 2006 From: infopazo at hdsnet.hu (infopazo at hdsnet.hu) Date: Tue, 7 Nov 2006 09:33:34 +0100 (CET) Subject: [PythonCE] encoding problem Message-ID: <33327.80.98.78.23.1162888414.squirrel@80.98.78.23> Dear members! I write an application for polisters in PythonCE 2.5 I use hungarian characters in my program. #!/usr/bin/python # -*- coding: latin2 -*- import os, sys print sys.getdefaultencoding() print sys.getfilesystemencoding() print "??????????????????" The result is the folowing: mbcs ascii and a lot of rectangles. So, I tred with iso8859-2, utf-8, with same result. sys.setdefaultencoding() procedure doesnt exists. I'd like use it with tkinter and sqlite. How can I use custom characterset with this version? thanks PAZO mondoka.hu From scherrey at proteus-tech.com Wed Nov 8 05:53:16 2006 From: scherrey at proteus-tech.com (Benjamin Scherrey) Date: Tue, 07 Nov 2006 23:53:16 -0500 Subject: [PythonCE] How to edit python files within WinCE env? Message-ID: <455162BC.7000806@proteus-tech.com> I'm brand spanking new to this mobile stuff so was pleased with how easy it was to install pythonce on my new Dopod 818pro. I copied over a few sample python programs from my development directory and they just worked first time. Anyway - couple of newbie questions: 1. (bit off topic) Does Windows Mobile not have the concept of a file extension? I copied a few *.py and *.pyc files but I can only see the primary file name before the "." which means in the file listing it looks like the same file twice. 2. How do I edit a python file within the environment? Clicking on any of my copied programs results in its execution and I can't seem to load them in an editor. 3. When typing at the command prompt for a multi-line statement like for x in y: print x At the point of the pythonce complains as though that was the end of my statement and doesn't let me enter the indented second line. 4. Is there an up-to-date wiki or support web page for pythonce? I found an old wiki but it doesn't seem to have been updated for a few years. Thanx all for the great product port (I actually ran 2.5 on my Dopod before I got it on my dev machines) and I look forward to doing some serious python mobile development soon. -- Ben Scherrey From infopazo at hdsnet.hu Wed Nov 8 09:18:16 2006 From: infopazo at hdsnet.hu (infopazo at hdsnet.hu) Date: Wed, 8 Nov 2006 09:18:16 +0100 (CET) Subject: [PythonCE] How to edit python files within WinCE env? In-Reply-To: <455162BC.7000806@proteus-tech.com> References: <455162BC.7000806@proteus-tech.com> Message-ID: <35430.80.98.78.23.1162973896.squirrel@80.98.78.23> > 1. (bit off topic) Does Windows Mobile not have the concept of a > file extension? I copied a few *.py and *.pyc files but I can only see > the primary file name before the "." which means in the file listing it > looks like the same file twice. > > 2. How do I edit a python file within the environment? Clicking on > any of my copied programs results in its execution and I can't seem to > load them in an editor. Use Total Commander CE. http://www.ghisler.com/ce.htm From coder_infidel at hotmail.com Wed Nov 8 15:10:12 2006 From: coder_infidel at hotmail.com (Luke Dunstan) Date: Wed, 8 Nov 2006 22:10:12 +0800 Subject: [PythonCE] How to edit python files within WinCE env? References: <455162BC.7000806@proteus-tech.com> Message-ID: ----- Original Message ----- From: "Benjamin Scherrey" To: Sent: Wednesday, November 08, 2006 12:53 PM Subject: [PythonCE] How to edit python files within WinCE env? > I'm brand spanking new to this mobile stuff so was pleased with how easy > it was to install pythonce on my new Dopod 818pro. I copied over a few > sample python programs from my development directory and they just > worked first time. Anyway - couple of newbie questions: > > 1. (bit off topic) Does Windows Mobile not have the concept of a > file extension? I copied a few *.py and *.pyc files but I can only see > the primary file name before the "." which means in the file listing it > looks like the same file twice. > > 2. How do I edit a python file within the environment? Clicking on > any of my copied programs results in its execution and I can't seem to > load them in an editor. As another person already mentioned: Total Commander. > > 3. When typing at the command prompt for a multi-line statement like > for x in y: > print x > At the point of the pythonce complains as though that was > the end of my statement and doesn't let me enter the indented second line. This bug was reported a little while ago and I posted a Python script that works around it. It will be fixed in the next release. > 4. Is there an up-to-date wiki or support web page for pythonce? I > found an old wiki but it doesn't seem to have been updated for a few > years. Yes there is a wiki at http://pythonce.sourceforge.net/Wikka/HomePage. Luke > Thanx all for the great product port (I actually ran 2.5 on my Dopod > before I got it on my dev machines) and I look forward to doing some > serious python mobile development soon. > > -- Ben Scherrey From dave_welch at comcast.net Sat Nov 11 07:43:40 2006 From: dave_welch at comcast.net (dave_welch at comcast.net) Date: Sat, 11 Nov 2006 06:43:40 +0000 Subject: [PythonCE] tkinter Message-ID: <111120060643.4155.4555711C0005F2790000103B2206824693080C040A99A10A900E0B@comcast.net> I just installed pythonce 2.5 for windows mobile 5.0 on my ipaq. But I am having a difficult time installing tkinter. I have looked at many of the mailing lists archives, but it seems there is no clear cut way to install it (with many people having a difficult time to get it installed). Could someone please explain to me how I can get it working. Thanks. From infopazo at hdsnet.hu Sat Nov 11 11:28:56 2006 From: infopazo at hdsnet.hu (infopazo at hdsnet.hu) Date: Sat, 11 Nov 2006 11:28:56 +0100 (CET) Subject: [PythonCE] tkinter In-Reply-To: <111120060643.4155.4555711C0005F2790000103B2206824693080C040A99A10A900 E0B@comcast.net> References: <111120060643.4155.4555711C0005F2790000103B2206824693080C040A99A10A900E0B@comcast.net> Message-ID: <2052.82.79.110.193.1163240936.squirrel@82.79.110.193> Download PythonCE-2.5-20061012-_tkinter.zip from sourceforge http://sourceforge.net/project/showfiles.php?group_id=104228&package_id=112011 copy PythonCE-2.5-20061012-_tkinter\_tkinter.pyd into Program Files\Python25\Lib directory of your pda. That's it. You can read about TKinter package installation at here: http://pythonce.sourceforge.net/Wikka/Tkinter > I just installed pythonce 2.5 for windows mobile 5.0 on my ipaq. But I am > having a difficult time installing tkinter. I have looked at many of the > mailing lists archives, but it seems there is no clear cut way to install > it (with many people having a difficult time to get it installed). Could > someone please explain to me how I can get it working. Thanks. > _______________________________________________ > PythonCE mailing list > PythonCE at python.org > http://mail.python.org/mailman/listinfo/pythonce > From infopazo at hdsnet.hu Sat Nov 11 11:37:17 2006 From: infopazo at hdsnet.hu (infopazo at hdsnet.hu) Date: Sat, 11 Nov 2006 11:37:17 +0100 (CET) Subject: [PythonCE] tkinter Message-ID: <2123.82.79.110.193.1163241437.squirrel@82.79.110.193> > copy PythonCE-2.5-20061012-_tkinter\_tkinter.pyd into Program > Files\Python25\Lib directory of your pda. sorry... into Python25\DLLs dir. best regards PAZO From JBirdAngel at GreenBlueFish.com Mon Nov 13 21:41:24 2006 From: JBirdAngel at GreenBlueFish.com (JBirdAngel) Date: Mon, 13 Nov 2006 15:41:24 -0500 Subject: [PythonCE] Programming on Pocket PC's, use Python? Message-ID: <4558D874.4080309@GreenBlueFish.com> An HTML attachment was scrubbed... URL: http://mail.python.org/pipermail/pythonce/attachments/20061113/0b59a36d/attachment.htm From pythonce-ml at lestat.st Mon Nov 27 23:45:37 2006 From: pythonce-ml at lestat.st (David Goncalves) Date: Mon, 27 Nov 2006 23:45:37 +0100 Subject: [PythonCE] Python 2.5 for Windows CE / ARM Message-ID: <456B6A91.9050702@lestat.st> Hello, I'm trying to install Python on my CE device since many time ;) I've just found that release of PythonCE (2.5) but unfortunetly this version is not working on my device. I've the following message : "Python.exe is not a valid CE application". My device is running WindowsCE 4.2 on an ARM processor (Intel PXA255). Do you think it's just a compil time option to make it compatible or there is no chance for me to see it working on my device ? ;) Thanks. From dave_welch at comcast.net Tue Nov 28 03:49:25 2006 From: dave_welch at comcast.net (Dave Welch) Date: Mon, 27 Nov 2006 18:49:25 -0800 Subject: [PythonCE] grid manager Message-ID: When using the grid manager is there any way to set the start of the grid. For example, I have my window default to the screen size when it starts running, but when I first use the grid manager (row=0, column=0) it places the widget at the center of the window. Is there any way to make row/column (0,0) to start from the top of the window rather than the center? Thanks.