From jeff_barish at earthlink.net Thu Oct 5 23:26:52 2006 From: jeff_barish at earthlink.net (Jeffrey Barish) Date: Thu, 05 Oct 2006 15:26:52 -0600 Subject: [PythonCE] Invisible popup window Message-ID: Using wxPython, I created a popup window control for displaying a message.??It?works?fine?in my program on XP.??It?works?fine?in?a?simple?test program?on?WM.??However, when I run my program on WM, the popup window does not appear.??The dimensions are right. The?position?is?right.??It?captures?the?mouse?as?it should.??The?only?problem?is?that?I?can't?see?it.??I?thought?that?it?might be hidden behind the main frame, but Raise had no effect.??I?can't?think what else might be causing the problem.??Any?suggestions? -- Jeffrey Barish From fredy9 at menta.net Sun Oct 8 23:42:55 2006 From: fredy9 at menta.net (Fredy Cabre) Date: Sun, 8 Oct 2006 23:42:55 +0200 Subject: [PythonCE] call to scrypt from winCE Message-ID: <000001c6eb22$c2746060$0202fea9@portfredy> In winCE, I call from a program a scrypt named Hello.py, the path is this: '\Hello.py' the code of the script is this: # -*- coding: cp1252 -*- print "Hola fredy, que collons fas?" Then the call to the scrypt only show me the interactive window of PythonCE and nothing else, I don't understand this. Can be that is corrupte the pythonCE in my ppc? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.python.org/pipermail/pythonce/attachments/20061008/b6015bfc/attachment.htm From fredy9 at menta.net Mon Oct 9 00:00:29 2006 From: fredy9 at menta.net (Fredy Cabre) Date: Mon, 9 Oct 2006 00:00:29 +0200 Subject: [PythonCE] call scrypt with parameters Message-ID: <000001c6eb25$2d945150$0202fea9@portfredy> the problem that I wrote in the previous e-mail is solved with reset of the ppc. :-) But now I have another problem. I make a little aplication with a program (Sprint DB) that allow to send another program with a method named 'RunApp', well, I call my scrypt with this metod that have 2 parameters: Application and Parameters. I put the path of the scrypt in the Aplicattion parameter and the scrypt's parameters in the Parameters parameter, but when i call the method give this error: path_origen=sys.argv[1] 'list index out of range' That mains that the scrypt don't detect the parameters that i send. What can I do to send the scrypt's arguments correctly? Thank you. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.python.org/pipermail/pythonce/attachments/20061009/6c741ff7/attachment.html From coder_infidel at hotmail.com Mon Oct 9 15:52:48 2006 From: coder_infidel at hotmail.com (Luke Dunstan) Date: Mon, 9 Oct 2006 21:52:48 +0800 Subject: [PythonCE] call scrypt with parameters References: <000001c6eb25$2d945150$0202fea9@portfredy> Message-ID: Mensaje Please show the exact code where you call this "RunApp". Luke ----- Original Message ----- From: Fredy Cabre To: pythonce at python.org Sent: Monday, October 09, 2006 6:00 AM Subject: [PythonCE] call scrypt with parameters the problem that I wrote in the previous e-mail is solved with reset of the ppc. :-) But now I have another problem. I make a little aplication with a program (Sprint DB) that allow to send another program with a method named 'RunApp', well, I call my scrypt with this metod that have 2 parameters: Application and Parameters. I put the path of the scrypt in the Aplicattion parameter and the scrypt's parameters in the Parameters parameter, but when i call the method give this error: path_origen=sys.argv[1] 'list index out of range' That mains that the scrypt don't detect the parameters that i send. What can I do to send the scrypt's arguments correctly? Thank you. ------------------------------------------------------------------------------ _______________________________________________ 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/20061009/8f3f18a1/attachment.htm From fredy9 at menta.net Tue Oct 10 22:49:45 2006 From: fredy9 at menta.net (Fredy Cabre) Date: Tue, 10 Oct 2006 22:49:45 +0200 Subject: [PythonCE] call scrypt with parameters Message-ID: <000501c6ecad$a2464790$0202fea9@portfredy> This is the call to the scrypt wich have 3 parameters: RunApp('\mover_fotos.py','\ - -') --------------------------------------------------------------- This is the beginning of the scrypt: # -*- coding: cp1252 -*- import glob, shutil import os import sys i=0 ruta_Origen=sys.argv[1] ruta_Desti=sys.argv[2] nom_Fich=sys.argv[3] ----------------------------------------------------------------- the error that give me: ruta_origen=sys.argv[1] exceptions.Indexerror: list index out of range. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.python.org/pipermail/pythonce/attachments/20061010/e627fc03/attachment.htm From brutalville at gmail.com Wed Oct 11 02:13:03 2006 From: brutalville at gmail.com (Brutal) Date: Tue, 10 Oct 2006 20:13:03 -0400 Subject: [PythonCE] Error Message-ID: <000d01c6ecca$072c4ad0$7f00a8c0@brutal> I get invalid windows CE application upon running it any ideas? (im running a jornada 540 series with windows CE Version 3.0.9348 (build 9357)) Thanks, Brutal -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.python.org/pipermail/pythonce/attachments/20061010/4e5a7f71/attachment.htm From coder_infidel at hotmail.com Wed Oct 11 02:27:19 2006 From: coder_infidel at hotmail.com (Luke Dunstan) Date: Wed, 11 Oct 2006 08:27:19 +0800 Subject: [PythonCE] Error References: <000d01c6ecca$072c4ad0$7f00a8c0@brutal> Message-ID: Which version of PythonCE did you try? All the recent releases are built for Pocket PC 2003 (Windows CE 4.2). Luke ----- Original Message ----- From: Brutal To: pythonce at python.org Sent: Wednesday, October 11, 2006 8:13 AM Subject: [PythonCE] Error I get invalid windows CE application upon running it any ideas? (im running a jornada 540 series with windows CE Version 3.0.9348 (build 9357)) Thanks, Brutal ------------------------------------------------------------------------------ _______________________________________________ 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/20061011/e80aebd2/attachment.html From coder_infidel at hotmail.com Wed Oct 11 14:17:39 2006 From: coder_infidel at hotmail.com (Luke Dunstan) Date: Wed, 11 Oct 2006 20:17:39 +0800 Subject: [PythonCE] Error References: <000d01c6ecca$072c4ad0$7f00a8c0@brutal> <002001c6ecd8$5bc3af80$7f00a8c0@brutal> Message-ID: Hi, I don't know for sure because I haven't tried it with WinCE 3.0, but on the Files page it looks like one of these would work: http://prdownloads.sourceforge.net/pythonce/Python-2.3.4-arm-PPC2002.zip?download http://prdownloads.sourceforge.net/pythonce/python-2.3.4-arm-HPC2000.zip?download Luke ----- Original Message ----- From: Brutal To: Luke Dunstan Sent: Wednesday, October 11, 2006 9:55 AM Subject: Re: [PythonCE] Error Ok Thanks For the Help but can you point me in the best version that will work with my version? (3) ----- Original Message ----- From: Luke Dunstan To: Brutal Cc: pythonce at python.org Sent: Tuesday, October 10, 2006 8:27 PM Subject: Re: [PythonCE] Error Which version of PythonCE did you try? All the recent releases are built for Pocket PC 2003 (Windows CE 4.2). Luke ----- Original Message ----- From: Brutal To: pythonce at python.org Sent: Wednesday, October 11, 2006 8:13 AM Subject: [PythonCE] Error I get invalid windows CE application upon running it any ideas? (im running a jornada 540 series with windows CE Version 3.0.9348 (build 9357)) Thanks, Brutal -------------------------------------------------------------------------- _______________________________________________ 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/20061011/49934518/attachment.htm From coder_infidel at hotmail.com Wed Oct 11 15:16:18 2006 From: coder_infidel at hotmail.com (Luke Dunstan) Date: Wed, 11 Oct 2006 21:16:18 +0800 Subject: [PythonCE] call scrypt with parameters References: <000501c6ecad$a2464790$0202fea9@portfredy> Message-ID: Mensaje In that case, it depends on how RunApp() is implemented. If it calls ShellExecuteEx() then I think it is not possible to pass parameters. Try this: RunApp('\Program Files\python24\python.exe', '\mover_fotos.py \ - -') Luke ----- Original Message ----- From: Fredy Cabre To: pythonce at python.org Sent: Wednesday, October 11, 2006 4:49 AM Subject: [PythonCE] call scrypt with parameters This is the call to the scrypt wich have 3 parameters: RunApp('\mover_fotos.py','\ - -') --------------------------------------------------------------- This is the beginning of the scrypt: # -*- coding: cp1252 -*- import glob, shutil import os import sys i=0 ruta_Origen=sys.argv[1] ruta_Desti=sys.argv[2] nom_Fich=sys.argv[3] ----------------------------------------------------------------- the error that give me: ruta_origen=sys.argv[1] exceptions.Indexerror: list index out of range. ------------------------------------------------------------------------------ _______________________________________________ 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/20061011/9130b5e8/attachment.html From coder_infidel at hotmail.com Thu Oct 12 03:31:10 2006 From: coder_infidel at hotmail.com ( Luke Dunstan) Date: Thu, 12 Oct 2006 09:31:10 +0800 Subject: [PythonCE] Python 2.5 for Windows CE / ARM Message-ID: A new release of Python for Windows CE is available. Download it here: http://sourceforge.net/project/showfiles.php?group_id=104228 The release notes are linked from this page, but a direct link is: http://sourceforge.net/project/shownotes.php?release_id=454685&group_id=104228 Please consider this release to be a Beta because it has not been tested thoroughly enough on Windows CE to be considered stable. I think that the most efficient way to continue testing will be for everyone to try it and report any bugs. Luke Dunstan From bandung at skyesystems.com Thu Oct 12 06:09:00 2006 From: bandung at skyesystems.com (Bandung) Date: Wed, 11 Oct 2006 21:09:00 -0700 (PDT) Subject: [PythonCE] Python 2.5 for Windows CE / ARM In-Reply-To: References: Message-ID: <6769570.post@talk.nabble.com> I tried running a simple app that uses Tkinter but I get the error message _tkinter not found. Traceback (most recent call last): File "\Storage Card\5_software_developed\testcode\GstApps\gui_class\input.py", line 2, in from Tkinter import * File "C:\devl\release\PythonCE-2.5-20061012\Python-2.5-wince\Lib\lib-tk\Tkinter.py", line 38, in ImportError: No module named _tkinter Can you compile the binaries with the typical /Storage card/Program Files/Python25/.... path so that we don't have to evoke work arounds in order use these modules? I really appreciate the gui popup that you implemented when raw_input is used. Also, import dbapi2 isn't recognized as a legitimate command (possibly due to the current default paths) Will the durus persistence modules be eventually added with this release. Luke Dunstan wrote: > > A new release of Python for Windows CE is available. Download it here: > > http://sourceforge.net/project/showfiles.php?group_id=104228 > > The release notes are linked from this page, but a direct link is: > > http://sourceforge.net/project/shownotes.php?release_id=454685&group_id=104228 > > Please consider this release to be a Beta because it has not been tested > thoroughly enough on Windows CE to be considered stable. I think that the > most efficient way to continue testing will be for everyone to try it and > report any bugs. > > Luke Dunstan > > _______________________________________________ > PythonCE mailing list > PythonCE at python.org > http://mail.python.org/mailman/listinfo/pythonce > > -- View this message in context: http://www.nabble.com/Python-2.5-for-Windows-CE---ARM-tf2427402.html#a6769570 Sent from the Python - pythonce mailing list archive at Nabble.com. From coder_infidel at hotmail.com Thu Oct 12 11:59:58 2006 From: coder_infidel at hotmail.com ( Luke Dunstan) Date: Thu, 12 Oct 2006 17:59:58 +0800 Subject: [PythonCE] Python 2.5 for Windows CE / ARM References: <6769570.post@talk.nabble.com> Message-ID: ----- Original Message ----- From: "Bandung" To: Sent: Thursday, October 12, 2006 12:09 PM Subject: Re: [PythonCE] Python 2.5 for Windows CE / ARM > > I tried running a simple app that uses Tkinter but I get the error message > _tkinter not found. > > Traceback (most recent call last): > File "\Storage > Card\5_software_developed\testcode\GstApps\gui_class\input.py", line 2, in > > from Tkinter import * > File > "C:\devl\release\PythonCE-2.5-20061012\Python-2.5-wince\Lib\lib-tk\Tkinter.py", > line 38, in > ImportError: No module named _tkinter I think this is because DLLs\_tkinter.pyd doesn't exist, not because sys.path is wrong. Do you agree? I will try to add it back in the next release and/or as a separate package. > > Can you compile the binaries with the typical /Storage card/Program > Files/Python25/.... path so that we don't have to evoke work arounds in > order use these modules? If PythonCE is installed in "\Storage Card\Program Files\Python25" then it should work. > I really appreciate the gui popup that you implemented when raw_input is > used. Thanks should go to the person who contributed it :-) > Also, import dbapi2 isn't recognized as a legitimate command (possibly due > to the current default paths) I think this is because the release doesn't include pySQLite yet. > Will the durus persistence modules be eventually added with this release. What is it? Is it a part of the standard library? Luke > > > > Luke Dunstan wrote: >> >> A new release of Python for Windows CE is available. Download it here: >> >> http://sourceforge.net/project/showfiles.php?group_id=104228 >> >> The release notes are linked from this page, but a direct link is: >> >> http://sourceforge.net/project/shownotes.php?release_id=454685&group_id=104228 >> >> Please consider this release to be a Beta because it has not been tested >> thoroughly enough on Windows CE to be considered stable. I think that the >> most efficient way to continue testing will be for everyone to try it and >> report any bugs. >> >> Luke Dunstan >> >> _______________________________________________ >> PythonCE mailing list >> PythonCE at python.org >> http://mail.python.org/mailman/listinfo/pythonce >> >> > > -- > View this message in context: > http://www.nabble.com/Python-2.5-for-Windows-CE---ARM-tf2427402.html#a6769570 > Sent from the Python - pythonce mailing list archive at Nabble.com. > > _______________________________________________ > PythonCE mailing list > PythonCE at python.org > http://mail.python.org/mailman/listinfo/pythonce > From davidf at sjsoft.com Thu Oct 12 17:35:13 2006 From: davidf at sjsoft.com (David Fraser) Date: Thu, 12 Oct 2006 17:35:13 +0200 Subject: [PythonCE] Python 2.5 for Windows CE / ARM In-Reply-To: References: Message-ID: <452E60B1.7020707@sjsoft.com> Luke Dunstan wrote: > A new release of Python for Windows CE is available. Download it here: > > http://sourceforge.net/project/showfiles.php?group_id=104228 > > The release notes are linked from this page, but a direct link is: > > http://sourceforge.net/project/shownotes.php?release_id=454685&group_id=104228 > > Please consider this release to be a Beta because it has not been tested > thoroughly enough on Windows CE to be considered stable. I think that the > most efficient way to continue testing will be for everyone to try it and > report any bugs. Fantastic... The new modules mean much less hassle for deploying our web server app on CE now :-) Seems and sounds like sqlite3 is not supported (error importing _sqlite3), any chance of updating the wiki to show the differences? And since I'm new on this, what's the quickest/easiest way of helping to get _sqlite3 working? David From fredy9 at menta.net Sat Oct 14 00:04:12 2006 From: fredy9 at menta.net (Fredy Cabre) Date: Sat, 14 Oct 2006 00:04:12 +0200 Subject: [PythonCE] open internet connection (GPRS) Message-ID: <000001c6ef13$84eefdf0$0202fea9@portfredy> Hello, I have a scrypt that send files to web server by FTP, this runs very good, but everytime I want to send the files with the script, previously I have to open the internet explorer to make me the internet connection. Exist any method wich connect to internet (GPRS) directly before I send the files by FTP? Thankyou. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.python.org/pipermail/pythonce/attachments/20061014/58352879/attachment.htm From coder_infidel at hotmail.com Sat Oct 14 12:36:55 2006 From: coder_infidel at hotmail.com (Luke Dunstan) Date: Sat, 14 Oct 2006 18:36:55 +0800 Subject: [PythonCE] open internet connection (GPRS) References: <000001c6ef13$84eefdf0$0202fea9@portfredy> Message-ID: MensajeHi, It should be possible to use Windows CE APIs through ctypes to do it, but I am not sure which is the most appropriate. I would guess either RasDial or InternetOpen, which in PythonCE would be ctypes.cdll.coredll.RasDial() or ctypes.cdll.wininet.InternetOpenW(). Luke ----- Original Message ----- From: Fredy Cabre To: pythonce at python.org Sent: Saturday, October 14, 2006 6:04 AM Subject: [PythonCE] open internet connection (GPRS) Hello, I have a scrypt that send files to web server by FTP, this runs very good, but everytime I want to send the files with the script, previously I have to open the internet explorer to make me the internet connection. Exist any method wich connect to internet (GPRS) directly before I send the files by FTP? Thankyou. ------------------------------------------------------------------------------ _______________________________________________ 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/20061014/186fff53/attachment.html From coder_infidel at hotmail.com Sat Oct 14 18:21:57 2006 From: coder_infidel at hotmail.com (Luke Dunstan) Date: Sun, 15 Oct 2006 00:21:57 +0800 Subject: [PythonCE] Python 2.5 for Windows CE / ARM References: <452E60B1.7020707@sjsoft.com> Message-ID: ----- Original Message ----- From: "David Fraser" To: "Luke Dunstan" Cc: Sent: Thursday, October 12, 2006 11:35 PM Subject: Re: [PythonCE] Python 2.5 for Windows CE / ARM > Luke Dunstan wrote: >> A new release of Python for Windows CE is available. Download it here: >> >> http://sourceforge.net/project/showfiles.php?group_id=104228 >> >> The release notes are linked from this page, but a direct link is: >> >> http://sourceforge.net/project/shownotes.php?release_id=454685&group_id=104228 >> >> Please consider this release to be a Beta because it has not been tested >> thoroughly enough on Windows CE to be considered stable. I think that the >> most efficient way to continue testing will be for everyone to try it and >> report any bugs. > Fantastic... The new modules mean much less hassle for deploying our web > server app on CE now :-) > Seems and sounds like sqlite3 is not supported (error importing > _sqlite3), any chance of updating the wiki to show the differences? > And since I'm new on this, what's the quickest/easiest way of helping to > get _sqlite3 working? > > > David I have now added a file PythonCE-2.5-20061012-pysqlite.zip to the release containing the missing pySQLite DLLs. Please try it. Luke From coder_infidel at hotmail.com Sat Oct 14 18:27:57 2006 From: coder_infidel at hotmail.com (Luke Dunstan) Date: Sun, 15 Oct 2006 00:27:57 +0800 Subject: [PythonCE] Python 2.5 for Windows CE / ARM References: <6769570.post@talk.nabble.com> Message-ID: ----- Original Message ----- From: " Luke Dunstan" To: Sent: Thursday, October 12, 2006 5:59 PM Subject: Re: [PythonCE] Python 2.5 for Windows CE / ARM > > ----- Original Message ----- > From: "Bandung" > To: > Sent: Thursday, October 12, 2006 12:09 PM > Subject: Re: [PythonCE] Python 2.5 for Windows CE / ARM > >> Also, import dbapi2 isn't recognized as a legitimate command (possibly >> due >> to the current default paths) > > I think this is because the release doesn't include pySQLite yet. As I mentioned in another email, I have now added PythonCE-2.5-20061012-pysqlite.zip to the release, which contains the missing pySQLite DLLs. Luke > >> Will the durus persistence modules be eventually added with this release. > > What is it? Is it a part of the standard library? > > Luke > >> >> >> >> Luke Dunstan wrote: >>> >>> A new release of Python for Windows CE is available. Download it here: >>> >>> http://sourceforge.net/project/showfiles.php?group_id=104228 >>> >>> The release notes are linked from this page, but a direct link is: >>> >>> http://sourceforge.net/project/shownotes.php?release_id=454685&group_id=104228 >>> >>> Please consider this release to be a Beta because it has not been tested >>> thoroughly enough on Windows CE to be considered stable. I think that >>> the >>> most efficient way to continue testing will be for everyone to try it >>> and >>> report any bugs. >>> >>> Luke Dunstan From bandung at skyesystems.com Mon Oct 16 04:23:12 2006 From: bandung at skyesystems.com (Bandung) Date: Sun, 15 Oct 2006 19:23:12 -0700 (PDT) Subject: [PythonCE] Python 2.5 for Windows CE / ARM In-Reply-To: References: <6769570.post@talk.nabble.com> Message-ID: <6827581.post@talk.nabble.com> What is Durus? Well it seems that me eyes ain't what they use to be - or I'm just a wishful thinker. Durus is a zodb like persistant storage service that uses pickling. https://www.mems-exchange.org/software/durus/ durus . When I look more closely at the website, it says that "Pycon 2005 included "Durus: A Persistence System for Python" I thought it said python.... Thank you for adding the sqlite3 files, by the way. Much appreciated. Luke Dunstan wrote: > > > ----- Original Message ----- > From: " Luke Dunstan" > To: > Sent: Thursday, October 12, 2006 5:59 PM > Subject: Re: [PythonCE] Python 2.5 for Windows CE / ARM > > >> >> ----- Original Message ----- >> From: "Bandung" >> To: >> Sent: Thursday, October 12, 2006 12:09 PM >> Subject: Re: [PythonCE] Python 2.5 for Windows CE / ARM >> >>> Also, import dbapi2 isn't recognized as a legitimate command (possibly >>> due >>> to the current default paths) >> >> I think this is because the release doesn't include pySQLite yet. > > As I mentioned in another email, I have now added > PythonCE-2.5-20061012-pysqlite.zip to the release, which contains the > missing pySQLite DLLs. > > Luke > >> >>> Will the durus persistence modules be eventually added with this >>> release. >> >> What is it? Is it a part of the standard library? >> >> Luke >> >>> >>> >>> >>> Luke Dunstan wrote: >>>> >>>> A new release of Python for Windows CE is available. Download it here: >>>> >>>> http://sourceforge.net/project/showfiles.php?group_id=104228 >>>> >>>> The release notes are linked from this page, but a direct link is: >>>> >>>> http://sourceforge.net/project/shownotes.php?release_id=454685&group_id=104228 >>>> >>>> Please consider this release to be a Beta because it has not been >>>> tested >>>> thoroughly enough on Windows CE to be considered stable. I think that >>>> the >>>> most efficient way to continue testing will be for everyone to try it >>>> and >>>> report any bugs. >>>> >>>> Luke Dunstan > > _______________________________________________ > PythonCE mailing list > PythonCE at python.org > http://mail.python.org/mailman/listinfo/pythonce > > -- View this message in context: http://www.nabble.com/Python-2.5-for-Windows-CE---ARM-tf2427402.html#a6827581 Sent from the Python - pythonce mailing list archive at Nabble.com. From coder_infidel at hotmail.com Mon Oct 16 15:23:36 2006 From: coder_infidel at hotmail.com (Luke Dunstan) Date: Mon, 16 Oct 2006 21:23:36 +0800 Subject: [PythonCE] Python 2.5 for Windows CE / ARM References: Message-ID: Hi, Please download the file I've just added to the release (PythonCE-2.5-20061012-_tkinter.zip) and try it. It should work the same way as previous versions. Luke ----- Original Message ----- From: To: "coder_infidel" Sent: Monday, October 16, 2006 5:08 PM Subject: Re: [PythonCE] Python 2.5 for Windows CE / ARM Great work for db sqlite!!! When could we have Tkinter in Python 2.5? I tried to copy DLLs\_tkinter.pyd but Tkinter doesn't work ... Thank's a lot bye ivom > > ----- Original Message ----- > From: " Luke Dunstan" > To: > Sent: Thursday, October 12, 2006 5:59 PM > Subject: Re: [PythonCE] Python 2.5 for Windows CE / ARM > > > > > > ----- Original Message ----- > > From: "Bandung" > > To: > > Sent: Thursday, October 12, 2006 12:09 PM > > Subject: Re: [PythonCE] Python 2.5 for Windows CE / ARM > > > >> Also, import dbapi2 isn't recognized as a legitimate command (possibly > >> due > >> to the current default paths) > > > > I think this is because the release doesn't include pySQLite yet. > > As I mentioned in another email, I have now added > PythonCE-2.5-20061012-pysqlite.zip to the release, which contains the > missing pySQLite DLLs. > > Luke > > > > >> Will the durus persistence modules be eventually added with this > >> release. > > > > What is it? Is it a part of the standard library? > > > > Luke > > > >> > >> > >> > >> Luke Dunstan wrote: > >>> > >>> A new release of Python for Windows CE is available. Download it here: > >>> > >>> http://sourceforge.net/project/showfiles.php?group_id=104228 > >>> > >>> The release notes are linked from this page, but a direct link is: > >>> > >>> http://sourceforge.net/project/shownotes.php?release_id=454685&group_id=104228 > >>> > >>> Please consider this release to be a Beta because it has not been > >>> tested > >>> thoroughly enough on Windows CE to be considered stable. I think that > >>> the > >>> most efficient way to continue testing will be for everyone to try it > >>> and > >>> report any bugs. > >>> > >>> Luke Dunstan > > _______________________________________________ > PythonCE mailing list > PythonCE at python.org > http://mail.python.org/mailman/listinfo/pythonce > ------------------------------------------------------ Consolidamento.Una sola rata pi? bassa per i tuoi finanziamenti e, in pi?, liquidit?! http://click.libero.it/mutuionline10 From bandung at skyesystems.com Tue Oct 17 23:23:24 2006 From: bandung at skyesystems.com (Bandung) Date: Tue, 17 Oct 2006 14:23:24 -0700 (PDT) Subject: [PythonCE] wxPython for PythonCE announcement In-Reply-To: References: <20060731115412.23788.qmail@flock1.newmail.ru> <20060731124148.29121.qmail@flock1.newmail.ru> <5884972.post@talk.nabble.com> <44E75668.102@goatadsl.co.uk> <6508125.post@talk.nabble.com> Message-ID: <6864556.post@talk.nabble.com> I still think that the problem is related to hard coded paths in the binary. While the actual name of the storage card might not be the problem, what appears more certain is that the program can't find the necessary files - either because of the default paths that the author uses or because the names don't agree with what I have on my pda. My problems don't relate to how I get my scripts over to the pda since I do not use ActiveSync, preferring to transfer files either via wifi or bluetooth. It seems to me that the only common denominator is that this app runs better from main memory and not from a storage card. There is no way that I can free up enough space to run this baby from main memory. There are other apps that I prefer to give this precious memory space to rather than pythonce and its evil twin sister, wxPythonce. For wxpythonce to work from my storage card, methinks that the author will have to change the paths so that the necessary files can be located. I vote for adding \Storage Card\Program Files\Python24\Lib\wx to the mix. This problem can only get worst, the more python distributions one has. Currently, I keep python 2.3.4, python2.4.2 and python 2.5 on my storage card. which means that there are actually three python directories, not one. So while his paths might work for python 2.4.x, they won't work with my python 2.5 or python 2.3.x installs. Interesting enough for me, I can't get the python 2.3 version of wx to run with python 2.3 either. While I can at least type "import wx" using the 2.3 versions of both products and not have the device blow up or produce an error, I can't run any programs because, again, certain files can't be found. Given all of the little show stopping gotchas that I've experienced with (a) the tk8.4.dll blowing up my combobox control within bwidgets and now (b) wxPythonce not even being able to run, this is enough to make me want to go back to using microsoft's various gui builders and simply call things via ctypes. Sign... If only we could get Linux loaded on these windows mobile 5.0 designed devices, then my "how to compile proper binaries" problems would go away. jeffbarish wrote: > > Jeffrey Barish wrote: > >> I suspect that the problem actually has something >> to do with ActiveSync. I seem to have better luck getting software to >> run >> when I manipulate it using Pocket Controller connected by Wifi rather >> than >> ActiveSync connected by USB. > > It may be sufficient to remove the PDA from its cradle when you are ready > to > run your program. If you still need a connection to the host, use Wifi > instead. > -- > Jeffrey Barish > > _______________________________________________ > PythonCE mailing list > PythonCE at python.org > http://mail.python.org/mailman/listinfo/pythonce > > -- View this message in context: http://www.nabble.com/wxPython-for-PythonCE-announcement-tf2024801.html#a6864556 Sent from the Python - pythonce mailing list archive at Nabble.com. From jeff_barish at earthlink.net Wed Oct 18 03:01:23 2006 From: jeff_barish at earthlink.net (Jeffrey Barish) Date: Tue, 17 Oct 2006 19:01:23 -0600 Subject: [PythonCE] wxPython for PythonCE announcement References: <20060731115412.23788.qmail@flock1.newmail.ru> <20060731124148.29121.qmail@flock1.newmail.ru> <5884972.post@talk.nabble.com> <44E75668.102@goatadsl.co.uk> <6508125.post@talk.nabble.com> <6864556.post@talk.nabble.com> Message-ID: Bandung wrote: > Sigh... If only we could get Linux loaded on these windows mobile 5.0 > designed devices, then my "how to compile proper binaries" problems would > go away. Hear, hear. -- Jeffrey Barish From peter.olson at gmail.com Wed Oct 18 04:02:49 2006 From: peter.olson at gmail.com (Peter Olson) Date: Tue, 17 Oct 2006 19:02:49 -0700 Subject: [PythonCE] Is SH3 supported Message-ID: <867476640610171902i4333c787r5fbd57b1103076eb@mail.gmail.com> Hi I was wondering if there was a python version for ether the SH3 processers or for an HPC ARM device. If there is, could some point me in the direction of it? TIA, Peter From coder_infidel at hotmail.com Wed Oct 18 13:45:02 2006 From: coder_infidel at hotmail.com (Luke Dunstan) Date: Wed, 18 Oct 2006 19:45:02 +0800 Subject: [PythonCE] Is SH3 supported References: <867476640610171902i4333c787r5fbd57b1103076eb@mail.gmail.com> Message-ID: ----- Original Message ----- From: "Peter Olson" To: Sent: Wednesday, October 18, 2006 10:02 AM Subject: [PythonCE] Is SH3 supported > Hi I was wondering if there was a python version for ether the SH3 > processers or for an HPC ARM device. If there is, could some point me > in the direction of it? > > TIA, > Peter I'm not aware of any, and I don't think there has been any recent work on a Windows CE 3.x (or earlier) version for any processor. Luke From barlow5453 at mypacks.net Fri Oct 20 14:59:24 2006 From: barlow5453 at mypacks.net (barlow5453 at mypacks.net) Date: Fri, 20 Oct 2006 07:59:24 -0500 (GMT-05:00) Subject: [PythonCE] IndentationError in 2.5 command line interpreter Message-ID: <29241896.1161349164952.JavaMail.root@elwamui-wigeon.atl.sa.earthlink.net> If I try to write a multi-line construct in the Pythonce 2.5 command line interpreter, I get an IndentationError when I press Enter after a line with some control flow statement. For example, consider this simple example: >>> for i in xrange(10): When I press Enter at this point, I get: IndentationError: expected an indented block. In Pythonce 2.4.3 and earlier, pressing Enter forced a line break and I could include the necessary indentation on the continuation line. Is it a known issue that this behavior no longer works? Thanks for your help. From ke7fxl at gmail.com Sat Oct 21 10:27:26 2006 From: ke7fxl at gmail.com (Tod Haren) Date: Sat, 21 Oct 2006 01:27:26 -0700 Subject: [PythonCE] IndentationError in 2.5 command line interpreter In-Reply-To: <29241896.1161349164952.JavaMail.root@elwamui-wigeon.atl.sa.earthlink.net> References: <29241896.1161349164952.JavaMail.root@elwamui-wigeon.atl.sa.earthlink.net> Message-ID: <6f5b2c4e0610210127kbb287h6388c422c65c8e79@mail.gmail.com> I have the same problem, can't do classes either. Any ideas? On 10/20/06, barlow5453 at mypacks.net wrote: > If I try to write a multi-line construct in the Pythonce 2.5 command line interpreter, > I get an IndentationError > when I press Enter after a line with some control flow statement. > > For example, consider this simple example: > > >>> for i in xrange(10): > > When I press Enter at this point, I get: > > IndentationError: expected an indented block. > > In Pythonce 2.4.3 and earlier, pressing Enter forced a line break and I could include > the necessary indentation on the continuation line. Is it a known issue that this > behavior no longer works? > > Thanks for your help. > > > _______________________________________________ > PythonCE mailing list > PythonCE at python.org > http://mail.python.org/mailman/listinfo/pythonce > From fuzzyman at voidspace.org.uk Mon Oct 23 21:47:36 2006 From: fuzzyman at voidspace.org.uk (Michael Foord) Date: Mon, 23 Oct 2006 20:47:36 +0100 Subject: [PythonCE] Windows Mobile 5 Message-ID: <453D1C58.2000008@voidspace.org.uk> Hello all, Does PythonCE Microsoft Mobile System 5.0 Devices ? All the best, Fuzzyman http://www.voidspace.org.uk -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.408 / Virus Database: 268.13.9/490 - Release Date: 20/10/2006 From fuzzyman at voidspace.org.uk Mon Oct 23 22:06:24 2006 From: fuzzyman at voidspace.org.uk (Michael Foord) Date: Mon, 23 Oct 2006 21:06:24 +0100 Subject: [PythonCE] Windows Mobile 5 In-Reply-To: <453D1C58.2000008@voidspace.org.uk> References: <453D1C58.2000008@voidspace.org.uk> Message-ID: <453D20C0.4040601@voidspace.org.uk> Michael Foord wrote: > Hello all, > > Does PythonCE Microsoft Mobile System 5.0 Devices ? > *oops* my apologies. Does PythonCE run on Microsoft Mobile System 5.0 Devices ? Thanks Fuzzyman > All the best, > > Fuzzyman > http://www.voidspace.org.uk > > > -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.408 / Virus Database: 268.13.9/490 - Release Date: 20/10/2006 From jeff_barish at earthlink.net Tue Oct 24 19:01:34 2006 From: jeff_barish at earthlink.net (Jeffrey Barish) Date: Tue, 24 Oct 2006 11:01:34 -0600 Subject: [PythonCE] Windows Mobile 5 References: <453D1C58.2000008@voidspace.org.uk> <453D20C0.4040601@voidspace.org.uk> Message-ID: Michael Foord wrote: > Does PythonCE run on Microsoft Mobile System 5.0 Devices ? Yes. Python 2.4.3. -- Jeffrey Barish From kitsune_e at yahoo.com Fri Oct 27 00:16:39 2006 From: kitsune_e at yahoo.com (Ed Blake) Date: Thu, 26 Oct 2006 15:16:39 -0700 (PDT) Subject: [PythonCE] Python 2.5 for Windows CE / ARM In-Reply-To: Message-ID: <20061026221640.36881.qmail@web50215.mail.yahoo.com> I've dusted off (and recharge) my old ipaq after it had lain idle for months after its last crash. I've been testing out this new release of PythonCE and it is looking very good! First thing I did was move it to my storage card and run my modified setup script to get py/pyw files associated and showing the right icon. Not to tricky, I can post the code if anyone wants it. Next I tried one of my Tkinter programs > Error: no module _tkinter! I come back and check and there is already a fresh Tkinter compile ready for download! I put it in the right spot and all is well ^_^ Now some tricky stuff. I plan to develop an application that needs to talk over a bluetooth serial link. I poke around a little and find win32file isn't built for this version of PythonCE, but we do have ctypes built in. A little more hunting and I dug up this post listing code for accessing serial coms on PythonCE: http://www.mail-archive.com/pythonce at python.org/msg00749.html (BTW I never saw this thread??) Okay, thats cool, but I'm kind of disappointed by Tkinter's performance graphics wise. Didn't I hear something about ctypes-pygame a while back? Another short search later - Yay, ctypes-pygame exists and is in a usable state! Now what do you do with an egg!? So I get the source package here: http://www.pygame.org/ctypes/ and steal some sdl dlls from the luaX project here: http://luaforge.net/projects/luax/ and put them in my windows folder. Everything seems to work fairly well except sdl_image and sdl_mixer don't seem to want to work? Anyway you can draw to the screen and get user input (softinput works except there is no esc key!). Just thought people might want to here about some of the cool tools that are working in the latest version of PythonCE. My only complaints so far are that Tk isn't included by default, and that distutils isn't included. No distutils == no setuptools == no eggs. At least until I open up setuptools and figure out what code is importing the eggs. Also if anyone had a line on some high-quality sdl ports for ce it would be most helpful. Without SDL_image working you can only load bmps (and that fails on my tests). I think it is just a dll naming/discovery issue, but stealing from another package is sort of lame anyway... Anyway good wrok to the devs, thanks for keeping this project alive and bringing it to a new level of maturity! --- Luke Dunstan wrote: > A new release of Python for Windows CE is available. Download it here: > > http://sourceforge.net/project/showfiles.php?group_id=104228 > > The release notes are linked from this page, but a direct link is: > > http://sourceforge.net/project/shownotes.php?release_id=454685&group_id=104228 > > Please consider this release to be a Beta because it has not been tested > thoroughly enough on Windows CE to be considered stable. I think that the > most efficient way to continue testing will be for everyone to try it and > report any bugs. > > Luke Dunstan > > _______________________________________________ > PythonCE mailing list > PythonCE at python.org > http://mail.python.org/mailman/listinfo/pythonce > From theller at ctypes.org Fri Oct 20 22:57:47 2006 From: theller at ctypes.org (Thomas Heller) Date: Fri, 20 Oct 2006 22:57:47 +0200 Subject: [PythonCE] ctypes-1.0.1 Message-ID: <4539384B.8090004@ctypes.org> I've released ctypes-1.0.1 (see the announcement on ctypes-users, for example). This is exactly the same version that is also bundled with Python 2.5, so I assume there's no need to build a separate windows-ce binary. Thomas From coder_infidel at hotmail.com Fri Oct 27 18:57:16 2006 From: coder_infidel at hotmail.com (Luke Dunstan) Date: Sat, 28 Oct 2006 00:57:16 +0800 Subject: [PythonCE] IndentationError in 2.5 command line interpreter References: <29241896.1161349164952.JavaMail.root@elwamui-wigeon.atl.sa.earthlink.net> Message-ID: ----- Original Message ----- From: To: "Pythonce" Sent: Friday, October 20, 2006 8:59 PM Subject: [PythonCE] IndentationError in 2.5 command line interpreter > If I try to write a multi-line construct in the Pythonce 2.5 command line > interpreter, > I get an IndentationError > when I press Enter after a line with some control flow statement. > > For example, consider this simple example: > >>>> for i in xrange(10): > > When I press Enter at this point, I get: > > IndentationError: expected an indented block. > > In Pythonce 2.4.3 and earlier, pressing Enter forced a line break and I > could include > the necessary indentation on the continuation line. Is it a known issue > that this > behavior no longer works? > > Thanks for your help. Please try the attached script to see if it fixes the problem. Just put it on your Pocket PC and double-click it. Luke -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: pcceshell.py Url: http://mail.python.org/pipermail/pythonce/attachments/20061028/02704686/attachment.pot From barlow5453 at mypacks.net Sat Oct 28 14:55:31 2006 From: barlow5453 at mypacks.net (barlow5453 at mypacks.net) Date: Sat, 28 Oct 2006 07:55:31 -0500 (GMT-05:00) Subject: [PythonCE] IndentationError in 2.5 command line interpreter Message-ID: <20673959.1162040132059.JavaMail.root@elwamui-little.atl.sa.earthlink.net> I tried, but the script terminates without a message. So, I can't really get the script to run. Thanks for your help. -----Original Message----- >From: Luke Dunstan >Sent: Oct 27, 2006 11:57 AM >To: barlow5453 at mypacks.net, Pythonce >Subject: Re: [PythonCE] IndentationError in 2.5 command line interpreter > > >----- Original Message ----- >From: >To: "Pythonce" >Sent: Friday, October 20, 2006 8:59 PM >Subject: [PythonCE] IndentationError in 2.5 command line interpreter > > >> If I try to write a multi-line construct in the Pythonce 2.5 command line >> interpreter, >> I get an IndentationError >> when I press Enter after a line with some control flow statement. >> >> For example, consider this simple example: >> >>>>> for i in xrange(10): >> >> When I press Enter at this point, I get: >> >> IndentationError: expected an indented block. >> >> In Pythonce 2.4.3 and earlier, pressing Enter forced a line break and I >> could include >> the necessary indentation on the continuation line. Is it a known issue >> that this >> behavior no longer works? >> >> Thanks for your help. > >Please try the attached script to see if it fixes the problem. Just put it >on your Pocket PC and double-click it. > >Luke From coder_infidel at hotmail.com Sat Oct 28 15:33:29 2006 From: coder_infidel at hotmail.com (Luke Dunstan) Date: Sat, 28 Oct 2006 21:33:29 +0800 Subject: [PythonCE] IndentationError in 2.5 command line interpreter References: <20673959.1162040132059.JavaMail.root@elwamui-little.atl.sa.earthlink.net> Message-ID: ----- Original Message ----- From: To: "Luke Dunstan" ; "Pythonce" Sent: Saturday, October 28, 2006 8:55 PM Subject: Re: [PythonCE] IndentationError in 2.5 command line interpreter >I tried, but the script terminates without a message. So, I can't really >get the script to run. Thanks for your help. Sorry, I forgot something. Try this one. Luke > > -----Original Message----- >>From: Luke Dunstan >>Sent: Oct 27, 2006 11:57 AM >>To: barlow5453 at mypacks.net, Pythonce >>Subject: Re: [PythonCE] IndentationError in 2.5 command line interpreter >> >> >>----- Original Message ----- >>From: >>To: "Pythonce" >>Sent: Friday, October 20, 2006 8:59 PM >>Subject: [PythonCE] IndentationError in 2.5 command line interpreter >> >> >>> If I try to write a multi-line construct in the Pythonce 2.5 command >>> line >>> interpreter, >>> I get an IndentationError >>> when I press Enter after a line with some control flow statement. >>> >>> For example, consider this simple example: >>> >>>>>> for i in xrange(10): >>> >>> When I press Enter at this point, I get: >>> >>> IndentationError: expected an indented block. >>> >>> In Pythonce 2.4.3 and earlier, pressing Enter forced a line break and I >>> could include >>> the necessary indentation on the continuation line. Is it a known issue >>> that this >>> behavior no longer works? >>> >>> Thanks for your help. >> >>Please try the attached script to see if it fixes the problem. Just put it >>on your Pocket PC and double-click it. >> >>Luke > > > > -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: pcceshell.py Url: http://mail.python.org/pipermail/pythonce/attachments/20061028/9cb57df0/attachment.pot From barlow5453 at mypacks.net Sat Oct 28 15:52:01 2006 From: barlow5453 at mypacks.net (barlow5453 at mypacks.net) Date: Sat, 28 Oct 2006 08:52:01 -0500 (GMT-05:00) Subject: [PythonCE] IndentationError in 2.5 command line interpreter Message-ID: <7533432.1162043521680.JavaMail.root@elwamui-little.atl.sa.earthlink.net> It works! When I run the script, I get a command line interpreter that handles lines breaks correctly. Thanks! (Does this mean you are going to update the installable with this change?) -----Original Message----- >From: Luke Dunstan >Sent: Oct 28, 2006 8:33 AM >To: barlow5453 at mypacks.net, Pythonce >Subject: Re: [PythonCE] IndentationError in 2.5 command line interpreter > > >----- Original Message ----- >From: >To: "Luke Dunstan" ; "Pythonce" > >Sent: Saturday, October 28, 2006 8:55 PM >Subject: Re: [PythonCE] IndentationError in 2.5 command line interpreter > > >>I tried, but the script terminates without a message. So, I can't really >>get the script to run. Thanks for your help. > >Sorry, I forgot something. Try this one. > >Luke > >> >> -----Original Message----- >>>From: Luke Dunstan >>>Sent: Oct 27, 2006 11:57 AM >>>To: barlow5453 at mypacks.net, Pythonce >>>Subject: Re: [PythonCE] IndentationError in 2.5 command line interpreter >>> >>> >>>----- Original Message ----- >>>From: >>>To: "Pythonce" >>>Sent: Friday, October 20, 2006 8:59 PM >>>Subject: [PythonCE] IndentationError in 2.5 command line interpreter >>> >>> >>>> If I try to write a multi-line construct in the Pythonce 2.5 command >>>> line >>>> interpreter, >>>> I get an IndentationError >>>> when I press Enter after a line with some control flow statement. >>>> >>>> For example, consider this simple example: >>>> >>>>>>> for i in xrange(10): >>>> >>>> When I press Enter at this point, I get: >>>> >>>> IndentationError: expected an indented block. >>>> >>>> In Pythonce 2.4.3 and earlier, pressing Enter forced a line break and I >>>> could include >>>> the necessary indentation on the continuation line. Is it a known issue >>>> that this >>>> behavior no longer works? >>>> >>>> Thanks for your help. >>> >>>Please try the attached script to see if it fixes the problem. Just put it >>>on your Pocket PC and double-click it. >>> >>>Luke >> >> >> >> From rdsteph at mac.com Mon Oct 30 01:44:00 2006 From: rdsteph at mac.com (awaretek) Date: Sun, 29 Oct 2006 16:44:00 -0800 (PST) Subject: [PythonCE] Windows Mobile 5 In-Reply-To: <453D1C58.2000008@voidspace.org.uk> References: <453D1C58.2000008@voidspace.org.uk> Message-ID: <7067614.post@talk.nabble.com> How do I install this on my Motorla Q (winodws mobile system 5.0)? I downloaded the 2.4.3 set.exe for ARM and executed that on my PC, but then do not see it show up in my phone's windows/inteelisync folder as expected. Maybe I need a differnet version of hte 2.4.3 file? Michael Foord-3 wrote: > > Hello all, > > Does PythonCE Microsoft Mobile System 5.0 Devices ? > > All the best, > > Fuzzyman > http://www.voidspace.org.uk > > > -- > No virus found in this outgoing message. > Checked by AVG Free Edition. > Version: 7.1.408 / Virus Database: 268.13.9/490 - Release Date: 20/10/2006 > > _______________________________________________ > PythonCE mailing list > PythonCE at python.org > http://mail.python.org/mailman/listinfo/pythonce > > -- View this message in context: http://www.nabble.com/Windows-Mobile-5-tf2497158.html#a7067614 Sent from the Python - pythonce mailing list archive at Nabble.com. From rdsteph at mac.com Mon Oct 30 01:47:53 2006 From: rdsteph at mac.com (awaretek) Date: Sun, 29 Oct 2006 16:47:53 -0800 (PST) Subject: [PythonCE] How to load unsigned old executable files Message-ID: <7067644.post@talk.nabble.com> I have a lot of phone numbers stored in a format used by cardfile.exe, orignally from Windows 3.0 days. I us eit on Windows XT and have used it on every windows system since 3.0 I loaded it 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? RRon Stephens -- View this message in context: http://www.nabble.com/How-to-load-unsigned-old-executable-files-tf2536870.html#a7067644 Sent from the Python - pythonce mailing list archive at Nabble.com.