From ke7fxl at gmail.com Sat Jul 1 02:17:02 2006 From: ke7fxl at gmail.com (Tod Haren) Date: Fri, 30 Jun 2006 17:17:02 -0700 Subject: [PythonCE] Problem with ctypes In-Reply-To: References: <20060627162410.34725.qmail@web32007.mail.mud.yahoo.com> <6f5b2c4e0606280719g68ffbbe5geb4f7c5d06dc7436@mail.gmail.com> Message-ID: <6f5b2c4e0606301717g7558bdc7l63677d4af57c4fd3@mail.gmail.com> Good point. From gmc at serveisw3.net Sun Jul 2 11:17:43 2006 From: gmc at serveisw3.net (=?ISO-8859-1?Q?Gonzalo_Monz=F3n?=) Date: Sun, 02 Jul 2006 11:17:43 +0200 Subject: [PythonCE] wxpython for Python CE 2.4.3 announcement Message-ID: <44A78F37.3070905@serveisw3.net> Hi all, I would like to announce that I am starting work on a port of wxPython 2.6 to PythonCE 2.4.3. Many people have expressed interest in such a port, so I am hoping that the results of my effort will be widely used. I expect to complete the project within about 2 months. I welcome suggestions and assistance. Regards, Gonzalo Monz?n From assafal at ensieta.fr Tue Jul 4 08:45:38 2006 From: assafal at ensieta.fr (aliassaf) Date: Mon, 3 Jul 2006 23:45:38 -0700 (PDT) Subject: [PythonCE] Strong calculation in mathematical Message-ID: <5162641.post@talk.nabble.com> Hello, If we write = x^2 and if I give to the program the values of x, it will going to calculate the values of y, and also for x. But it is possible ? that is if I give to the program the values of X and Y, it will indicate to me the relation between the two variables, in the other hand if I look to the program x=2 y=4, x=3 y=9 ect... it is going to show me that f (t)!!! Thanks -- View this message in context: http://www.nabble.com/Strong-calculation-in-mathematical-tf1888276.html#a5162641 Sent from the Python - pythonce forum at Nabble.com. From coder_infidel at hotmail.com Tue Jul 4 16:51:49 2006 From: coder_infidel at hotmail.com (Luke Dunstan) Date: Tue, 4 Jul 2006 22:51:49 +0800 Subject: [PythonCE] building a 'simple' example References: Message-ID: Hi, I built your example simple.pyd and the only problem was that at first Python reported the error: Error: dynamic module does not define init function (initsimple) The solution was to declare it properly by adding extern "C": extern "C" DL_EXPORT(void) initsimple() This may not be related to your problem though. Anyway, after this change it worked fine. Please post more information about how you built the DLL (e.g. the project files), what SDK you used, and how you configured it to use the Python headers and libraries. Luke ----- Original Message ----- From: "Smit, M.C." To: "Luke Dunstan" Sent: Monday, July 03, 2006 9:26 PM Subject: RE: [PythonCE] building a 'simple' example Hi, Thanks for saying with me, The "simple" example is at the bottom of the thread(and this mail). The .py program that calls it is: import simple but ceaches with: ImportError: DLL load failed:The specified module could not be found. I would feel very foolish, but if I need more than that, than I am totally unawhare of it. I must admit I am a bit out of my league here. Thanks for your toughts. >Hi, > >I think the only way I could help further is if you posted a small but >complete example that demonstrates the problem. > >Luke > >----- Original Message ----- >From: "Smit, M.C." >To: "Luke Dunstan" ; >Sent: Monday, June 26, 2006 3:40 PM >Subject: RE: [PythonCE] building a 'simple' example > > >Hi > >The path is in sys.path. The DLL is next to the test programme that tries >to >import it, it name is simple.dll, andthe error is raised on: import simple > >ImportError: DLL load failed:The specified module could not be found. > >I'm running an winXP computer >and an Ipac PDA winMobile 2003 > >thanks for your thoughts > > > >-----Original Message----- >From: pythonce-bounces at python.org on behalf of Luke Dunstan >Sent: Fri 6/23/2006 6:04 PM >To: pythonce at python.org >Cc: >Subject: Re: [PythonCE] building a 'simple' example > > >Hi, > >Where did you put the DLL? What is it called? What were the commands that >failed? > >Luke > >----- Original Message ----- >From: "Smit, M.C." >To: >Sent: Friday, June 23, 2006 11:21 PM >Subject: [PythonCE] building a 'simple' example > > Dear all > > While there have been some posts on this topic I don't believe the answer > is in there jet. > > Eventually I want to write (with help of a colliegue whom is experienced > in c) a module that can use a device. Some c libraries are available, and > all I realy need is a function that returns an Int or String when called. > > I am trying to to build and run Listing 29-1 from the Python bible, > but so far I have been unable to compile annything that will work. > MS eVC is installed, and it compiles and links with no errors or warnings. > but when I put the dll on the PDA, and run a test program all I get is an > > ImportError: DLL load failed:The specified module could not be found. > > it can clearly find the file couse it knows it is a dll. I'm hoplessly > lost on what could be wrong, does annyone have any ideas. > > Cheers > > > here is the code: > // simple.cpp : Defines the entry point for the DLL application. > // > > #include "Python.h" > > static PyObject *simple_add(PyObject *pSelf, PyObject *pArgs) > { > PyObject *pX, *pY; > > if (!PyArg_ParseTuple(pArgs, "OO", &pX, &pY)) > return NULL; > > return PyNumber_Add(pX, pY); > } > > static char count_doc[] = "returns the number of arguments passed in"; > > static PyObject *simple_count(PyObject *pSelf, PyObject *pArgs) > { > long count = PyTuple_Size(pArgs); > return PyInt_FromLong(count); > } > > static PyMethodDef simple_methods[] = > { > {"add", simple_add, METH_VARARGS, NULL}, > {"count", simple_count, METH_VARARGS, count_doc}, > {NULL, NULL} > }; > > DL_EXPORT(void) initsimple() > { > Py_InitModule("simple", simple_methods); > } From ahmad at newhive.com Thu Jul 6 12:35:54 2006 From: ahmad at newhive.com (ahmad adel rldardiry) Date: Thu, 6 Jul 2006 13:35:54 +0300 Subject: [PythonCE] Tkinter References: <001e01c69846$9a0e5100$1501a8c0@ahmad> Message-ID: <001801c6a0e7$f828f0c0$1b01a8c0@ahmad> ?????? ????? ????? ???? ??????? May peace and Allah Mercy and Blessings be upon you, I have installed the Tkinter-Files into my ppc following the instructions in: http://tkinter.unpythonic.net/wiki/How_20to_20install_20Tkinter Then when testing with: TkSample1.py from: http://www.traybor.com/PythonCE/ I got the following error: ------------------------------------------------ Tcl_Init error: Can't find a usable init.tcl in the following directories: /lib/tcl8.4 {Program Files/lib/tcl8.4} /lib/tcl8.4 {Program Files/lib/library} /library/../tcl8.4.3/library This probably means that Tcl wasn't installed properly ------------------------------------------------ I'm using pythonce 2.4.3 Thanks ?? ??? ??? ???? There is no god but Allah ???? Ahmad http://www.shagarah.com http://www.newhive.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.python.org/pipermail/pythonce/attachments/20060706/fb4ea843/attachment.html From ke7fxl at gmail.com Fri Jul 7 00:06:49 2006 From: ke7fxl at gmail.com (Tod Haren) Date: Thu, 6 Jul 2006 15:06:49 -0700 Subject: [PythonCE] wincerapi Message-ID: <6f5b2c4e0607061506ka09b21dk36e3d02f328e7310@mail.gmail.com> I'd like to try using rapi.dll to access my PPC from the desktop. I found a reference to wincerapi in the pythonwin documentation, but can not import or otherwise locate the module on either my 2.1 or 2.4 installations on the desktop. Is it still available somewhere, somehow? It would be great to have this available. If not, is there an alternative that I'm unaware of? I simply want the ability to list files and folders on the PPC and then transfer files in either direction. Any advice would be much appreciated. Tod From ke7fxl at gmail.com Fri Jul 7 09:14:57 2006 From: ke7fxl at gmail.com (Tod Haren) Date: Fri, 7 Jul 2006 00:14:57 -0700 Subject: [PythonCE] wincerapi In-Reply-To: <6f5b2c4e0607061506ka09b21dk36e3d02f328e7310@mail.gmail.com> References: <6f5b2c4e0607061506ka09b21dk36e3d02f328e7310@mail.gmail.com> Message-ID: <6f5b2c4e0607070014je7033cby62073acbca90e7e0@mail.gmail.com> After some more time with Google I found this post from February. PocketRapi seems to get me on the right track. http://mail.python.org/pipermail/pythonce/2006-February/001322.html Tod. From johna at johnaherne.co.uk Mon Jul 10 09:01:31 2006 From: johna at johnaherne.co.uk (John Aherne) Date: Mon, 10 Jul 2006 08:01:31 +0100 Subject: [PythonCE] wxpython for wince Message-ID: <44B1FB4B.8030202@johnaherne.co.uk> Gonzalo Thanks for wanting to to a port. I have seen on the mail list that Jeffrey Barish was very keen to get a port done. I will be interested in using the port. Look forward to seeing something. Thanks John Aherne From gmc at serveisw3.net Mon Jul 10 19:33:33 2006 From: gmc at serveisw3.net (=?ISO-8859-1?Q?Gonzalo_Monz=F3n?=) Date: Mon, 10 Jul 2006 19:33:33 +0200 Subject: [PythonCE] wxpython for wince In-Reply-To: <44B1FB4B.8030202@johnaherne.co.uk> References: <44B1FB4B.8030202@johnaherne.co.uk> Message-ID: <44B28F6D.7080709@serveisw3.net> Hi John, The work is in progress. Actually I have the current cvs sources from wxwidgets succesfully compiled for PPC2003, and several C++ samples from the project are working fine on the PocketPC. Will say more about the status of the port when I could have wxpython working, even in alpha status, so anybody interested could start testing as soon as possible. Anyway I advance great improvements over last wxpython for PythonCE. wxwidgets folks have done a great work on WinCE support -although an official build for eVC4 does not exist-. The samples I got compiled show wonderful things as: almost any image type working -except tiff and animated cursors- and even the HTML control runs great! Don't know much about other not basic controls or functionalities that were not working in previous release, as I would like to complete the build and start real testing from pythonCE. Cheers, Gonzalo John Aherne escribi?: >Gonzalo > >Thanks for wanting to to a port. > >I have seen on the mail list that Jeffrey Barish was very keen to get a >port done. > >I will be interested in using the port. > >Look forward to seeing something. > >Thanks > >John Aherne > > > >_______________________________________________ >PythonCE mailing list >PythonCE at python.org >http://mail.python.org/mailman/listinfo/pythonce > > > From ke7fxl at gmail.com Fri Jul 14 09:29:59 2006 From: ke7fxl at gmail.com (Tod Haren) Date: Fri, 14 Jul 2006 00:29:59 -0700 Subject: [PythonCE] Edit WinCE registry from desktop Message-ID: <6f5b2c4e0607140029x39f0022aia84f47179fedb90b@mail.gmail.com> I've been using the pocketRapi scripts submitted previously by helpful TechGame folks, their names escape me right now. So far it suits my needs and seems to work great. However it doesn't implement all of the rapi.dll functions. I'd like to be able to read/write to the registry on the PPC from Python on the desktop. Does anyone know how I can do this? Are there other modules or scripts available as examples that somebody could share? Any tips would be appreciated. Tod From coder_infidel at hotmail.com Fri Jul 14 10:34:50 2006 From: coder_infidel at hotmail.com (Luke Dunstan) Date: Fri, 14 Jul 2006 16:34:50 +0800 Subject: [PythonCE] Edit WinCE registry from desktop References: <6f5b2c4e0607140029x39f0022aia84f47179fedb90b@mail.gmail.com> Message-ID: ----- Original Message ----- From: "Tod Haren" To: Sent: Friday, July 14, 2006 3:29 PM Subject: [PythonCE] Edit WinCE registry from desktop > I've been using the pocketRapi scripts submitted previously by helpful > TechGame folks, their names escape me right now. So far it suits my > needs and seems to work great. However it doesn't implement all of > the rapi.dll functions. I'd like to be able to read/write to the > registry on the PPC from Python on the desktop. Does anyone know how > I can do this? Are there other modules or scripts available as > examples that somebody could share? Any tips would be appreciated. > > Tod If you want to do it from Python, just use the remote registry APIs in rapi.dll (as documented on MSDN) with ctypes. Otherwise, Microsoft eMbedded Visual C++ 4.0 includes a Remote Registry Editor. Luke From tech_dev at wildintellect.com Wed Jul 19 00:28:37 2006 From: tech_dev at wildintellect.com (Alex Mandel) Date: Tue, 18 Jul 2006 15:28:37 -0700 Subject: [PythonCE] Timestamp Message-ID: So I was looking at an old post where someone used Python 2.3.2 (#0, Dec 11 2003, 12:46:49) [MSC v.1200 32 bit (Unknown)] on Pocket PC >>> >>> import time >>> >>> clock=time.clock() >>> >>> local=time.localtime(clock) >>> >>> local (2004, 2, 27, 10, 14, 41, 4, -1, -1) When I tried to repeat that on my Dell Axim X5 and on the Desktop Emulator I always get (1969,12,31,17... Any idea how to actually get the time. All I need is string that has mmddyy like 071806 I tried: import time from time import strftime strftime("%m%d%y",gmtime()) and got and error NameError: name 'gmtime' is not defined if I throw in local from the above code it works except its not the current time its the default microsoft time. Any ideas? Thanks - Alex From tech_dev at wildintellect.com Wed Jul 19 01:18:31 2006 From: tech_dev at wildintellect.com (Alex Mandel) Date: Tue, 18 Jul 2006 16:18:31 -0700 Subject: [PythonCE] Timestamp In-Reply-To: References: Message-ID: Alex Mandel wrote: > So I was looking at an old post where someone used > > Python 2.3.2 (#0, Dec 11 2003, 12:46:49) [MSC v.1200 32 bit (Unknown)] on > Pocket PC > >>> >>> import time > >>> >>> clock=time.clock() > >>> >>> local=time.localtime(clock) > >>> >>> local > (2004, 2, 27, 10, 14, 41, 4, -1, -1) > > When I tried to repeat that on my Dell Axim X5 and on the Desktop > Emulator I always get > (1969,12,31,17... > Any idea how to actually get the time. > All I need is string that has mmddyy like 071806 > > I tried: > import time > from time import strftime > strftime("%m%d%y",gmtime()) > and got and error > NameError: name 'gmtime' is not defined > if I throw in local from the above code it works except its not the > current time its the default microsoft time. > > Any ideas? Thanks - > Alex NVM - localtime() worked From sleepingbull at gmail.com Wed Jul 19 02:28:23 2006 From: sleepingbull at gmail.com (Matt S.) Date: Tue, 18 Jul 2006 17:28:23 -0700 Subject: [PythonCE] Timestamp In-Reply-To: References: Message-ID: I've found the datetime module to be very useful. Using datetime, you can use its strftime method to format the print method of datetime objects to your hearts content. Or, use it with matplotlib, and more. There's also the mxDatetime modules (though not part of the standard distribution). A datetime example, import datetime tNow = datetime.datetime.now() tFmt = tNow.strftime('%Y%m%d%H%M%S') On 7/18/06, Alex Mandel wrote: > > Alex Mandel wrote: > > So I was looking at an old post where someone used > > > > Python 2.3.2 (#0, Dec 11 2003, 12:46:49) [MSC v.1200 32 bit (Unknown)] > on > > Pocket PC > > >>> >>> import time > > >>> >>> clock=time.clock() > > >>> >>> local=time.localtime(clock) > > >>> >>> local > > (2004, 2, 27, 10, 14, 41, 4, -1, -1) > > > > When I tried to repeat that on my Dell Axim X5 and on the Desktop > > Emulator I always get > > (1969,12,31,17... > > Any idea how to actually get the time. > > All I need is string that has mmddyy like 071806 > > > > I tried: > > import time > > from time import strftime > > strftime("%m%d%y",gmtime()) > > and got and error > > NameError: name 'gmtime' is not defined > > if I throw in local from the above code it works except its not the > > current time its the default microsoft time. > > > > Any ideas? Thanks - > > Alex > NVM - localtime() worked > > _______________________________________________ > 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/20060718/41fbe751/attachment.htm From tech_dev at wildintellect.com Thu Jul 20 23:13:07 2006 From: tech_dev at wildintellect.com (Alex Mandel) Date: Thu, 20 Jul 2006 14:13:07 -0700 Subject: [PythonCE] File association image for .py Message-ID: I know it's a little trivial but it's the kind of thing that end users really like. Anyone know how to add a registry entry so the .py files get a nice python icon in the File Explorer. I'm assuming that it can be done in the PythonCE.inf for the CAB but I don't know the syntax. If someone knows how, I think it should be added to the next release. Thanks, Alex From eyecreate at gmail.com Sat Jul 22 18:46:15 2006 From: eyecreate at gmail.com (The Head Guy) Date: Sat, 22 Jul 2006 12:46:15 -0400 Subject: [PythonCE] Pyeditce Update Message-ID: <8f654c1e0607220946v14fccbacp86b682977b345e34@mail.gmail.com> For those who were interested in Pyeditce, the windows mobile form designer and editor for Pythonce, I am realeasing the source code now. Since nobody has given a response as to which way they want the tkinter window to look, I put it the way I like best, and let those who don't the ability to change it in their code. I have not updated the file dialog box yet, as I have not found an easy way to implement a file dialog I like yet, but that is what the source code is for. Please sign up on the Pyeditce wiki to make any news, changes, or comments on this.(pyeditce.wikispaces.com) I can also add anyone to the source forge project that wants to help program it too. Thank you to those who have tested Pyeditce. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.python.org/pipermail/pythonce/attachments/20060722/8cc22b1c/attachment.htm From eyecreate at gmail.com Sat Jul 22 18:49:39 2006 From: eyecreate at gmail.com (The Head Guy) Date: Sat, 22 Jul 2006 12:49:39 -0400 Subject: [PythonCE] Pyeditce Update In-Reply-To: <8f654c1e0607220946v14fccbacp86b682977b345e34@mail.gmail.com> References: <8f654c1e0607220946v14fccbacp86b682977b345e34@mail.gmail.com> Message-ID: <8f654c1e0607220949x1d1fd049l5083163acdd6de3@mail.gmail.com> I forgot, the source is on the source forge page. (sf.net/projects/pyeditce) On 7/22/06, The Head Guy wrote: > > For those who were interested in Pyeditce, the windows mobile form > designer and editor for Pythonce, I am realeasing the source code now. Since > nobody has given a response as to which way they want the tkinter window to > look, I put it the way I like best, and let those who don't the ability to > change it in their code. I have not updated the file dialog box yet, as I > have not found an easy way to implement a file dialog I like yet, but that > is what the source code is for. Please sign up on the Pyeditce wiki to make > any news, changes, or comments on this.( pyeditce.wikispaces.com) I can > also add anyone to the source forge project that wants to help program it > too. Thank you to those who have tested Pyeditce. > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.python.org/pipermail/pythonce/attachments/20060722/a01685cb/attachment.html From fuzzyman at voidspace.org.uk Sat Jul 22 19:03:27 2006 From: fuzzyman at voidspace.org.uk (Michael Foord) Date: Sat, 22 Jul 2006 18:03:27 +0100 Subject: [PythonCE] Pyeditce Update In-Reply-To: <8f654c1e0607220949x1d1fd049l5083163acdd6de3@mail.gmail.com> References: <8f654c1e0607220946v14fccbacp86b682977b345e34@mail.gmail.com> <8f654c1e0607220949x1d1fd049l5083163acdd6de3@mail.gmail.com> Message-ID: <44C25A5F.5020601@voidspace.org.uk> The Head Guy wrote: > I forgot, the source is on the source forge page. > (sf.net/projects/pyeditce ) It looks very good. Next time I write something for use on my PDA I will use it. Nice one. Fuzzyman http://www.voidspace.org.uk/python/index.shtml > > On 7/22/06, *The Head Guy* < eyecreate at gmail.com > > wrote: > > For those who were interested in Pyeditce, the windows mobile form > designer and editor for Pythonce, I am realeasing the source code > now. Since nobody has given a response as to which way they want > the tkinter window to look, I put it the way I like best, and let > those who don't the ability to change it in their code. I have not > updated the file dialog box yet, as I have not found an easy way > to implement a file dialog I like yet, but that is what the source > code is for. Please sign up on the Pyeditce wiki to make any news, > changes, or comments on this.( pyeditce.wikispaces.com > ) I can also add anyone to the > source forge project that wants to help program it too. Thank you > to those who have tested Pyeditce. > > > ------------------------------------------------------------------------ > > _______________________________________________ > PythonCE mailing list > PythonCE at python.org > http://mail.python.org/mailman/listinfo/pythonce > From coder_infidel at hotmail.com Mon Jul 24 17:01:10 2006 From: coder_infidel at hotmail.com (Luke Dunstan) Date: Mon, 24 Jul 2006 23:01:10 +0800 Subject: [PythonCE] File association image for .py References: Message-ID: ----- Original Message ----- From: "Alex Mandel" To: Sent: Friday, July 21, 2006 5:13 AM Subject: [PythonCE] File association image for .py >I know it's a little trivial but it's the kind of thing that end users > really like. Anyone know how to add a registry entry so the .py files > get a nice python icon in the File Explorer. Create a registry key: HKEY_CLASSES_ROOT\Python.File\DefaultIcon Set the default value of this key to: \Program Files\Python24\python.exe,0 > I'm assuming that it can be done in the PythonCE.inf for the CAB but I > don't know the syntax. If someone knows how, I think it should be added > to the next release. Yes, it will be in the next release. Luke > Thanks, > Alex From tech_dev at wildintellect.com Mon Jul 24 21:54:33 2006 From: tech_dev at wildintellect.com (Alex Mandel) Date: Mon, 24 Jul 2006 12:54:33 -0700 Subject: [PythonCE] File association image for .py In-Reply-To: References: Message-ID: Luke Dunstan wrote: > ----- Original Message ----- > From: "Alex Mandel" > To: > Sent: Friday, July 21, 2006 5:13 AM > Subject: [PythonCE] File association image for .py > > >> I know it's a little trivial but it's the kind of thing that end users >> really like. Anyone know how to add a registry entry so the .py files >> get a nice python icon in the File Explorer. > > Create a registry key: HKEY_CLASSES_ROOT\Python.File\DefaultIcon > Set the default value of this key to: \Program Files\Python24\python.exe,0 > >> I'm assuming that it can be done in the PythonCE.inf for the CAB but I >> don't know the syntax. If someone knows how, I think it should be added >> to the next release. > > Yes, it will be in the next release. > > Luke Thanks for the info Luke. The correct syntax for the inf file is(All as one Line): HKCR,Python.File,DefaultIcon,0x00000002,"\Program Files\Python24\python.exe,0"; DefaultIcon = "\Program Files\Python24\python.exe,0" In the examples I was looking at I wasn't sure what the section after the semi-colon was for, it may not be necessary. But I test this line and it worked. Now the only question is if it should be a different icon from the Shell exe or if the console-less .pyw should be a different icon than the others. Alex From tech_dev at wildintellect.com Mon Jul 24 22:27:10 2006 From: tech_dev at wildintellect.com (Alex Mandel) Date: Mon, 24 Jul 2006 13:27:10 -0700 Subject: [PythonCE] File association image for .py In-Reply-To: References: Message-ID: Slight Error in my last Post: > > The correct syntax for the inf file is(All as one Line): > HKCR,Python.File,DefaultIcon,0x00000002,"\Program > Files\Python24\python.exe,0"; DefaultIcon = "\Program > Files\Python24\python.exe,0" > Correct Line is: HKCR,Python.File\DefaultIcon,,0x00000002,"\Program Files\Python24\python.exe,0"; DefaultIcon = "\Program Files\Python24\python.exe,0" The previous version made a string in the registry rather than a key. Alex From petri.wunsch at gmail.com Tue Jul 25 10:55:13 2006 From: petri.wunsch at gmail.com (Petri Wunsch) Date: Tue, 25 Jul 2006 11:55:13 +0300 Subject: [PythonCE] keypress import Message-ID: hi, has anyone imported keypress libarary or similar stuff to pythonCE python for symbian has this, and it's very usefull in creating test scripts for software because you can automate the keypresses. -- I love deadlines. I love the whooshing sound they make as they go by. - Douglas Adams From coder_infidel at hotmail.com Thu Jul 27 17:17:27 2006 From: coder_infidel at hotmail.com (Luke Dunstan) Date: Thu, 27 Jul 2006 23:17:27 +0800 Subject: [PythonCE] File association image for .py References: Message-ID: ----- Original Message ----- From: "Anne Wangnick" To: Cc: "Luke Dunstan" Sent: Thursday, July 27, 2006 4:02 AM Subject: AW: [PythonCE] File association image for .py > Hello Luke, > > watch out. In foreign versions of Windows CE the folder might be called > something else than "Program Files". E.g., in the German version it's > called > "Programme". I'm quite sure though that the name of the folder can be > found > in the registry under a generic path. > > Regards, > Sebastian Wangnick Yes, this is already handled by the CAB file installer, because the .inf file contains: InstallDir = %CE1%\%AppName% Luke > > -----Ursprungliche Nachricht----- > Von: pythonce-bounces at python.org [mailto:pythonce-bounces at python.org]Im > Auftrag von Luke Dunstan > Gesendet: Montag, 24. Juli 2006 17:01 > An: pythonce at python.org; Alex Mandel > Betreff: Re: [PythonCE] File association image for .py > > > > ----- Original Message ----- > From: "Alex Mandel" > To: > Sent: Friday, July 21, 2006 5:13 AM > Subject: [PythonCE] File association image for .py > > >>I know it's a little trivial but it's the kind of thing that end users >> really like. Anyone know how to add a registry entry so the .py files >> get a nice python icon in the File Explorer. > > Create a registry key: HKEY_CLASSES_ROOT\Python.File\DefaultIcon > Set the default value of this key to: \Program Files\Python24\python.exe,0 > >> I'm assuming that it can be done in the PythonCE.inf for the CAB but I >> don't know the syntax. If someone knows how, I think it should be added >> to the next release. > > Yes, it will be in the next release. > > Luke > >> Thanks, >> Alex From yi.s.ding at gmail.com Fri Jul 28 22:15:56 2006 From: yi.s.ding at gmail.com (Yi Ding) Date: Fri, 28 Jul 2006 13:15:56 -0700 Subject: [PythonCE] Python 2.5? Message-ID: Hi, I was wondering if there was any ongoing work on some patches for Python 2.5? I know it's still in beta, but I'd be happy to help out coding or testing if someone is working on it. Thanks, Yi -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.python.org/pipermail/pythonce/attachments/20060728/a8e34a3b/attachment.html From iksteen at gmail.com Sun Jul 30 23:19:04 2006 From: iksteen at gmail.com (Ingmar Steen) Date: Sun, 30 Jul 2006 23:19:04 +0200 Subject: [PythonCE] wxPython for PythonCE Message-ID: Hi all, I'd like to announce the release of my initial effort to 'port' wxPython to PythonCE. You can find the wiki (with links to the source and binary archives and building instructions) here: http://wxpyce.wikispaces.com/ The port isn't very mature yet (f.e. somehow the commandbar doesn't show), but I'm hoping to get help from all of you. The end-goal of the project is to get things stable and clean enough to include it into the official wxPython tree. Let me know how this works out for you and feel free to ask questions if you have any. btw. I am by no means a wxWidgets, wxPython, Python(CE) or eVC4 expert. Ingmar From iksteen at gmail.com Mon Jul 31 00:08:30 2006 From: iksteen at gmail.com (Ingmar Steen) Date: Mon, 31 Jul 2006 00:08:30 +0200 Subject: [PythonCE] wxPython for PythonCE announcement Message-ID: (I hope this doesn't go around twice, but I got some strange replies when sending this earlier) Hi all, I'd like to announce the release of my initial effort to 'port' wxPython to PythonCE. You can find the wiki (with links to the source and binary archives and building instructions) here: http://wxpyce.wikispaces.com/ The port isn't very mature yet (f.e. somehow the commandbar doesn't show), but I'm hoping to get help from all of you. The end-goal of the project is to get things stable and clean enough to include it into the official wxPython tree. Let me know how this works out for you and feel free to ask questions if you have any. btw. I am by no means a wxWidgets, wxPython, Python(CE) or eVC4 expert. Ingmar From coder_infidel at hotmail.com Mon Jul 31 02:22:49 2006 From: coder_infidel at hotmail.com (Luke Dunstan) Date: Mon, 31 Jul 2006 08:22:49 +0800 Subject: [PythonCE] Python 2.5? References: Message-ID: Hi, Yes I have done some work on porting Python 2.5 but it is not yet complete enough to be useful, so I will let you know how it goes. Luke ----- Original Message ----- From: Yi Ding To: pythonce at python.org Sent: Saturday, July 29, 2006 4:15 AM Subject: [PythonCE] Python 2.5? Hi, I was wondering if there was any ongoing work on some patches for Python 2.5? I know it's still in beta, but I'd be happy to help out coding or testing if someone is working on it. Thanks, Yi -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.python.org/pipermail/pythonce/attachments/20060731/fb39c60a/attachment.html From rumata-estor at nm.ru Mon Jul 31 13:54:12 2006 From: rumata-estor at nm.ru (=?koi8-r?B?4sXM0cXXIOTNydTSycog6cfP0sXXyd4g?=) Date: Mon, 31 Jul 2006 15:54:12 +0400 Subject: [PythonCE] wxPython for PythonCE announcement In-Reply-To: Message-ID: <20060731115412.23788.qmail@flock1.newmail.ru> I tryed to "import wx" on interactive shell but got message "ImportError: Dll load failed: Not enough storage is available to complete this operation." I wonder how many memory does wx consume? I had 35 MB on PDA free. From iksteen at gmail.com Mon Jul 31 14:19:07 2006 From: iksteen at gmail.com (Ingmar Steen) Date: Mon, 31 Jul 2006 14:19:07 +0200 Subject: [PythonCE] wxPython for PythonCE announcement In-Reply-To: <20060731115412.23788.qmail@flock1.newmail.ru> References: <20060731115412.23788.qmail@flock1.newmail.ru> Message-ID: It's true that wx uses a lot of memory, but 35 MB should be enough I think... I'm using it quite comfortably on an iPaq H2200 which has 64MB total memory I think. I've never actually looked into how much it actually uses though. I'm planning to make a 'minimal' wx configuration that only exposes commonly used widgets. That should make thing easier on the PDA. Ingmar On 7/31/06, ?????? ??????? ???????? wrote: > I tryed to "import wx" on interactive shell but got message "ImportError: Dll load failed: Not enough storage is available to complete this operation." > > I wonder how many memory does wx consume? I had 35 MB on PDA free. > From rumata-estor at nm.ru Mon Jul 31 14:41:45 2006 From: rumata-estor at nm.ru (=?koi8-r?B?4sXM0cXXIOTNydTSycog6cfP0sXXyd4g?=) Date: Mon, 31 Jul 2006 16:41:45 +0400 Subject: [PythonCE] wxPython for PythonCE announcement In-Reply-To: Message-ID: <20060731124148.29121.qmail@flock1.newmail.ru> My hx2110 has 64 MB onboard, I have installed PythonCE on MMS. I have only 35 MB free main memory. I already tryed to free memory up to 45 MB, but it didn't help. From rumata-estor at nm.ru Mon Jul 31 20:40:37 2006 From: rumata-estor at nm.ru (Belyaev Dmitry) Date: Mon, 31 Jul 2006 22:40:37 +0400 Subject: [PythonCE] SimpleHTTPServer Message-ID: <20060731184037.11124.qmail@flock1.newmail.ru> I tried to write simple http server on my PDA. ------------------------------ import SimpleHTTPServer as Handler import BaseHTTPServer as Server h = Handler.SimpleHTTPRequestHandler s = Server.HTTPServer(('localhost', 80), h) s.serve_forever() ------------------------------ It works on Desktop, but failes on PDA with the following error: ------------------------------ Exception happened during processing of request from ('127.0.0.1', 1026) Traceback (most recent call last): File "binaries\lib\SocketServer.py", line 222, in handle_request File "binaries\lib\SocketServer.py", line 241, in process_request File "binaries\lib\SocketServer.py", line 254, in finish_request File "binaries\lib\SocketServer.py", line 521, in __init__ File "binaries\lib\BaseHTTPServer.py", line 316, in handle File "binaries\lib\BaseHTTPServer.py", line 299, in handle_one_request File "binaries\lib\socket.py", line 340, in readline error: (10054, 'Connection reset by peer') ------------------------------ Is it error in Internet Explorer CE or in PythonCE?