From jeff_barish at earthlink.net Fri Sep 1 01:48:01 2006 From: jeff_barish at earthlink.net (jeffbarish) Date: Thu, 31 Aug 2006 16:48:01 -0700 (PDT) Subject: [PythonCE] wxPython for PythonCE announcement In-Reply-To: <6040700.post@talk.nabble.com> References: <5659673.post@talk.nabble.com> <5661054.post@talk.nabble.com> <5664562.post@talk.nabble.com> <5890311.post@talk.nabble.com> <6040700.post@talk.nabble.com> Message-ID: <6090595.post@talk.nabble.com> jeffbarish wrote: > > Here are descriptions of some problems I have encountered with the recent > port of wxPython: > 7. It is not possible to put an image in column headers of a list control. There are no complaints. The image simply does not appear. -- View this message in context: http://www.nabble.com/wxPython-for-PythonCE-announcement-tf2024801.html#a6090595 Sent from the Python - pythonce forum at Nabble.com. From jeff_barish at earthlink.net Wed Sep 6 15:02:00 2006 From: jeff_barish at earthlink.net (jeffbarish) Date: Wed, 6 Sep 2006 06:02:00 -0700 (PDT) Subject: [PythonCE] wxPython for PythonCE announcement In-Reply-To: <6040700.post@talk.nabble.com> References: <5659673.post@talk.nabble.com> <5661054.post@talk.nabble.com> <5664562.post@talk.nabble.com> <5890311.post@talk.nabble.com> <6040700.post@talk.nabble.com> Message-ID: <6170974.post@talk.nabble.com> jeffbarish wrote: > > Here are descriptions of some problems I have encountered with the recent > port of wxPython: > > 6. The spacing of lines in a list control is larger in virtual mode than > it is in normal mode. > > I don't know whether any current readers are actually interested in my experience with the new wxPython port, but I figure that I should continue the thread for the sake of the historical record. The line spacing was different not because the list control was in virtual mode but because I was attempting to put a graphic in the header. Although the graphic does not appear in the header (or anywhere else), wxPythonCE increases the spacing of lines. Note that the graphic I was attempting to include was sufficiently small that it should not have been necessary to increase line spacing to display it. (But also note that I inserted the graphic only in the header, not in the body of the list control.) It seems as if there may be a correlation between this problem with graphics and the other problem that I described (item 4). In both cases there is evidence that wxPythonCE is treating the graphic as something larger than it is. The solution to the problem was to disable the code that attempted to put the graphic in the header. -- View this message in context: http://www.nabble.com/wxPython-for-PythonCE-announcement-tf2024801.html#a6170974 Sent from the Python - pythonce forum at Nabble.com. From picioslug at gmail.com Wed Sep 6 19:03:16 2006 From: picioslug at gmail.com (Daniele Spino) Date: Wed, 6 Sep 2006 19:03:16 +0200 Subject: [PythonCE] python editor... Message-ID: <825bef0c0609061003o4fa30047i1a505fca9de4d450@mail.gmail.com> Hello there, I'm a newbie of PythonCE. I've installed PythonCE 2.4.3 for arm on a dell axim x30 and It works like a charm. Can you tell me a good and free editor (just editor not ide) with syntax highlight that I can use to create python scripts? OS is Windows Mobile 2003 SE. Thanks for any answer. Picio From vmanzoni at imteam.it Thu Sep 7 08:34:01 2006 From: vmanzoni at imteam.it (Vincenzo Manzoni) Date: Thu, 7 Sep 2006 08:34:01 +0200 Subject: [PythonCE] python editor... Message-ID: <7C2921E7CC18CF4AAD2F9DF56E49F64FB0FB66@produzione02.IMTEAM.LOCAL> Hi Picio, > Can you tell me a good and free editor (just editor not ide) with > syntax highlight that I can use to create python scripts? I don't know editors with syntax highlight for Windows Mobile 2003 SE. To develop my very simple scripts, I use use PocketNotepad; you can download for free at http://tillanosoft.com. For more complex scripts, I develop them on my PC (Windows XP) with a plugin for Eclipse: PyDev (http://pydev.sourceforge.net/). Bye, Vincenzo From picioslug at gmail.com Sat Sep 9 15:09:22 2006 From: picioslug at gmail.com (Picio) Date: Sat, 9 Sep 2006 15:09:22 +0200 Subject: [PythonCE] wxpython Message-ID: <825bef0c0609090609i3a3f22a3l21cb4f28e51d560c@mail.gmail.com> Hello, I'm trying to setup wxpython on my windows Mobile 2003 se (dell axim). Is there a step by step procedure? Any howto? I've tried to use files I downloaded from the wiki http://wxpyce.wikispaces.com/ but I get a lot of errors about missed modules. Probably I have the wrong directory tree. Can you help me finde the right way to install it? Thanks. Picio From bandung at skyesystems.com Thu Sep 7 14:37:17 2006 From: bandung at skyesystems.com (Bandung) Date: Thu, 7 Sep 2006 05:37:17 -0700 (PDT) Subject: [PythonCE] python editor... In-Reply-To: <825bef0c0609061003o4fa30047i1a505fca9de4d450@mail.gmail.com> References: <825bef0c0609061003o4fa30047i1a505fca9de4d450@mail.gmail.com> Message-ID: <6189609.post@talk.nabble.com> I like Vim. http://www.rainer-keuchel.de/wince/vim.html Pocket Vim It works exceedingly well in Windows mobile 5.0. In order to get all of the additional plugins, macros, syntax files, etc, I installed VIm for the desktop (I used version 6.x) then copied all of those files and sub directories under the desktop's Vim directory over to my pda's Vim directory. I don't like using explorer.vim, so I removed it from the plugin sub directory. The only problem I had was with the vim.vim file. It always shows an error so I renamed the file (or you can delete it) and everything works as advertised. Last thing. I use to set up all of the registry entries suggested on the site where you can find pocket Vim but no more. I set the row and columuns parameters within a file called vimrc_bandung.vim For example I use :set lines=10, :set tw=78 :set columns=60 I also lose the "wrap" feature, etc. This file is where I customize my Vim. I point to this "customization" file with an entry in the file _VIMRC set nocompatible source $VIMRUNTIME/vimrc_bandung.vim source $VIMRUNTIME/mswin.vim source $VIMRUNTIME/menu.vim source $VIMRUNTIME/syntax/synload.vim source $VIMRUNTIME/syntax/filetype.vim behave mswin So if you know how to use Vim on the desktop, then you are pretty much set for using it on your pda. slug_picio wrote: > > Hello there, I'm a newbie of PythonCE. > I've installed PythonCE 2.4.3 for arm on a dell axim x30 > and It works like a charm. > Can you tell me a good and free editor (just editor not ide) with > syntax highlight that I can use to create python scripts? > OS is Windows Mobile 2003 SE. > Thanks for any answer. > Picio > _______________________________________________ > PythonCE mailing list > PythonCE at python.org > http://mail.python.org/mailman/listinfo/pythonce > > -- View this message in context: http://www.nabble.com/python-editor...-tf2228391.html#a6189609 Sent from the Python - pythonce forum at Nabble.com. From infopazo at hdsnet.hu Mon Sep 11 14:55:11 2006 From: infopazo at hdsnet.hu (infopazo at hdsnet.hu) Date: Mon, 11 Sep 2006 14:55:11 +0200 (CEST) Subject: [PythonCE] serial port Message-ID: <3172.195.70.34.233.1157979311.squirrel@195.70.34.233> Dear Python programmers! First of all, I'd like to say hello for all. Second, I'd like programming the serial port, special then GPS device. I tried to copy pyserial and win32file modules to python directories, but I get error, when importing win32file. Please help me, find out what can I do. Best regards Papp Zoltan From bandung at skyesystems.com Mon Sep 11 23:56:48 2006 From: bandung at skyesystems.com (Bandung) Date: Mon, 11 Sep 2006 21:56:48 -0000 Subject: [PythonCE] IDE for Python on Windows Pocket PC? In-Reply-To: <17f9723f0608220904w2f0565b9s678b3f5641724b43@mail.gmail.com> References: <17f9723f0608220904w2f0565b9s678b3f5641724b43@mail.gmail.com> Message-ID: <5939793.post@talk.nabble.com> On the desktop, I develop my scripts with SPE http://www.stani.be/python/spe/blog/ SPE editor and occasionally with iPython or Boa Constructor. On my pda, I now use only VIM with the python syntax plugin. http://www.rainer-keuchel.de/wince/vim.html VimCE I have used the pocket idle programme as well but vastly prefer VIM. Since I have a windows mobile 5.0 device, there is no console that works. So I have to get VIM working by building an appropriate _vimrc file Forget about doing all of those registry edits as the web site suggests. My pda seems to ignore them anyways. Just setup the _vimrc file along with all of the plugins and macros that you want. I instaled the Vim 6.3 desktop version and then copied everything over to the appropriate directories on my storage card. The only module that produced errors for me was the vim.vim one. I simply removed it and everything else works ok. The other problem that I had was a missing format.vim module. It is in the root Vim directory on the desktop rather than in the Syntax sub directory. I copied it to the SYNTAX sub directory on the storage card and everything is cool. Boy, do I love using Vim on my pda. I have all of my syntax, the help files and my environment works ok. Don't forget to set the rows and column widths using a set lines = 10 and set tw = 78. David P. Gil wrote: > > Anyone know if any good IDEs for Python on Pocket PC? I installed PythonCE > but it seems to only work in interactive mode. Does anyone know how to > active script mode? > > Thanks! > > David > > _______________________________________________ > PythonCE mailing list > PythonCE at python.org > http://mail.python.org/mailman/listinfo/pythonce > > -- View this message in context: http://www.nabble.com/IDE-for-Python-on-Windows-Pocket-PC--tf2147229.html#a5939793 Sent from the Python - pythonce forum at Nabble.com. From bandung at skyesystems.com Mon Sep 18 03:16:24 2006 From: bandung at skyesystems.com (Bandung) Date: Mon, 18 Sep 2006 01:16:24 -0000 Subject: [PythonCE] Seeking alternative to wxPython In-Reply-To: <5917335.post@talk.nabble.com> References: <5917335.post@talk.nabble.com> Message-ID: <5918589.post@talk.nabble.com> If you really want a Windows look and feel then I would suggest that you use Visual Basic or any one of the visual microsoft development tools. They are "cross platform" if you don't mind sticking to windoze machines. The challenge then becomes, "how do you point your callbacks into python, rather than microsoft code? You could try to use the pywin32 interface developed by Hammond to talk to your gui. Its been a long time since I used it for anything and that was essentially for things like starting an excel spreadsheet and then copying and pasting data into the spreadsheet from a python program. I would also think that ctypes could help with calling into the win32gui as well. For the time being, I am sticking with TKinker. It is cross platform and it works well on my windows mobile machine. I can develop using python on my desktop as well as pda. I can also use more heavy duty "editors" such as SPE on my desktop or iPython. I use Vim on the pda. There is the promise of some nice gui enhancing tricks with Tile for tcl/tkinter which I haven't managed to find for my pda - only the desktop. And there are a wealth of additional controls that you can find on the net that extend the basic TKinter controls. You could try to stick with wx for developing your gui and then using ctypes to call into it. I struggle with mastering c++ so wx is not my love child sort of thing. Things being as they are, its TKinter for tme. jeffbarish wrote: > > When I embarked on my programming project, I had hoped that my choice of > wxPython would make it possible for me to run my program without too much > difficulty on Linux, Win XP, Win Mobile, and OSX, but so far I have not > been able to get it to run reliably on even one platform, least of all > winCE. I had high hopes for the port recently announced by Ingmar Steen, > but so far, at least, it suffers from the same problems that the earlier > port had (although many other things are working better). Even the > version that runs on XP has problems that don't seem to be getting > resolved. Unfortunately, I am getting close to crunch time, so I can't > wait much longer in the hope that a bug-free port will appear. > Accordingly, I am beginning to cast about for a fallback. > > I have seen references here to Pythonwin, but I am not familiar with it. > I gather that it contains the module win32gui and, if I understand > correctly, that module provides an interface to the MFC routines for > creating a GUI. I understand that wxPython uses native routines to > actually draw the GUI elements, so if I am reasoning correctly it follows > that wxPython is calling the same routines that I could call directly > using win32gui. Thus, I should be able to do with win32gui anything that > I am doing with wxPython -- unless win32gui is not complete. What I lose > by using win32gui rather than wxPython is portability, but perhaps I would > have better luck getting the program to run reliably on winCE. Is this > reasoning correct? > > It looks as if the best documentation for Pythonwin is the book by Mark > Hammond and Andy Robinson, but I note that it was published over 6 years > ago. Is it still sufficiently current to be useful? Does anyone know > whether a new edition is scheduled to appear soon? Is there more current > documentation somewhere? Does Python Programming on WIN32 do an adequate > job of explaining how to build GUIs using win32gui, or do I need > documentation for the relevant portion of MFC as well? > > I hate the thought of rewriting my code again for a different GUI library. > I was happy using Qt on a Sharp Zaurus running Linux, but when Sharp > withdrew the Zaurus from the US market I could not find a suitable > substitute. The only alternative I can think of in my current dilemma is > to try to fix the bugs in the wxPython port myself, but I doubt that I > have the skill. Still, I might give it a try (if the author is willing) > before embarking on yet another rewrite. I would even consider hiring a > consultant to work on the port, though previous efforts along this line > have not borne fruit. > -- View this message in context: http://www.nabble.com/Seeking-alternative-to-wxPython-tf2143593.html#a5918589 Sent from the Python - pythonce forum at Nabble.com. From bandung at skyesystems.com Mon Sep 18 09:02:45 2006 From: bandung at skyesystems.com (Bandung) Date: Mon, 18 Sep 2006 00:02:45 -0700 (PDT) Subject: [PythonCE] Bwidget combo boxes stop working with latest tk84.dll Message-ID: <6358673.post@talk.nabble.com> With the tk84.dd version 8.4.6, I could build dialog boxes with bwidget controls. The one control that I particularly liked was the combo box. The only problem was the number of combo boxes used. I was continually getting "no more winhandle map slots" whenever I clicked on 5 comboboxes. I removed one box and at first that seemed to avoid the error. Except that the error re-occurs whenever the dialog box contaning these combo boxes, is re-launched. The fifth incident of clicking on a combo box causes the no more winhandle map slots error. For example, I could choose to click on only three combo boxes, close out the dialog box and relaunch it from the main app and the fifth click will cause the winhandle map error. When I upgraded my tcltk84ce-arm package to version 8.4.12, My combo boxes no longer work at all. When I click on any one of them, I get a drop list box that goes full screen and freezes the application. Has anyone compiled version 8.4.13 of the tk84.dll or is there a version that permits the bwidget combo box to work?. I really like bwidget's combo boxes. I would hate to have to redesign all of my dialog boxes to remove this control just because the ce version of this widget crashes. Does the wxPythonce port avoid this problem? If one had to redesign this app, to eliminate the bdwidget, is wxPythonce the way to go? -- View this message in context: http://www.nabble.com/Bwidget-combo-boxes-stop-working-with-latest-tk84.dll-tf2289448.html#a6358673 Sent from the Python - pythonce forum at Nabble.com. From davidpgil at gmail.com Mon Sep 18 23:10:41 2006 From: davidpgil at gmail.com (David P. Gil) Date: Mon, 18 Sep 2006 17:10:41 -0400 Subject: [PythonCE] Trying to Code Python ON a Pocket PC Phone Message-ID: <17f9723f0609181410o490f357eub77a591af2758a15@mail.gmail.com> I copied some files for a basic Python project im working onto my PDA Phone to work on and install PythonCE on it. In a previous reply, someone told me to just double tap my python files and it should allow me to edit them. Apparently when I do this, the script is run instead. I don't want to use interactive mode I want the script mode so I can write and edit bigger python programs. Does anyone know how I can do this? Sorry if this seems like too basic of a question. Have sympathy, I am an artist working in the game industry taking interest in the wacky work of programming. Thanks in advance for any help you can provide. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.python.org/pipermail/pythonce/attachments/20060918/80c15e4d/attachment.htm From sleepingbull at gmail.com Fri Sep 22 04:37:02 2006 From: sleepingbull at gmail.com (Matt S.) Date: Thu, 21 Sep 2006 19:37:02 -0700 Subject: [PythonCE] serial port access In-Reply-To: References: <44981DB8.4050502@serveisw3.net> <44985D9A.5030305@serveisw3.net> Message-ID: Benjamin (Gonzalo, Luke, Quentin), Did you post the serial port code you mentioned? I'd really appreciate it. My goal is to work with GPS hardware attached through a serial port. My hope was that the pygarmin module could be "easily" adapted to work with a Trimble GPS on the PocketPC (but it uses win32file/win32com which both appear to be unavailable on PythonCE). In my search, I also noticed that in Mobile 5.0, Microsoft has released the GPS Intermediate Driver (but I don't think this helps on the PPC 4). PocketGPSLib also holds some promise for use with ctypes, but it's severly un-documented. I'm not at all versed in building so the '.cpp' files that were offered up in this thread don't make any sense to me. Further complicating matters, the Trimble protocol seems to be mostly non-existent, publicly anyway. Up the creek without a paddle, does anyone have a paddle? Thanks, Matt On 6/23/06, Benjamin McBride wrote: > > Thanks all for your help! > > The final key was to use the wide-character variant of CreateFile. As > soon as I have the code cleaned up I will post the code (should be in the > next day or so). It will have a similar interface as pySerial. > > Thanks, > > Ben McBride > > On 6/21/06, Luke Dunstan wrote: > > > > You need to use the wide-character variants of Windows APIs, i.e. > > CreateFileW > > > > Luke > > > > ----- Original Message ----- > > From: "Benjamin McBride" > > To: > > Sent: Wednesday, June 21, 2006 4:54 AM > > Subject: Re: [PythonCE] serial port access > > > > > > Thanks Gonzalo for your help. I have read both the ctypes and > > microsoft documentation. My understanding is that I need to use the > > CreateFile API function from the coredll to get a handle to the comm > > port. When I use ctypes: > > > > >>> windll.coredll.CreateFile > > > > I get an AttributeError saying the CreateFile function is not found. > > Ironically, the ReadFile, WriteFile, and CloseHandle functions are all > > found. > > > > Am I just missing something simple here? > > > > Ben > > > > On 6/20/06, Gonzalo Monz?n wrote: > > > Have you read the ctypes docs? > > > > > > http://starship.python.net/crew/theller/ctypes/tutorial.html > > > > > > You have to read the Microsoft docs too, search what dynamic libraries > > > to use and what functions to call. Study the example I posted, you > have > > > to call these functions using ctypes: > > > > > > (openfile, readfile, writefile...) > > > > > > Don't know if somebody has implemented serial access using ctypes as > to > > > post an example, read the docs, first you need to understand how > ctypes > > > work -for that you should know or learn what C variable types are and > > > understand it almost a little bit, then the codeproject example will > > > come in handy- otherwise could be hard to code... Though any ctypes > > > example handling file or stream data may help you. Though pyserial > uses > > > ctypes too, so you could have a look to the sources. The differences > are > > > you have to use straight windows api calls, and pyserial calls a > helper > > > library wich should use windows api's for windows platform. > > > > > > I have to code serial access too in the next weeks, but don't have the > > > time now to get my hands in it. If you are not in hurry I could post > an > > > example when done. > > > > > > Gonzalo. > > > > > > > > > Benjamin McBride escribi?: > > > > > > >I've got ctypes installed. However, I have not been able to find any > > > >examples of how I might use ctypes for serial port access. Any > > > >suggestions would be appreciated. > > > > > > > >Thanks, > > > > > > > >Ben > > > > > > > >On 6/20/06, Gonzalo Monz?n wrote: > > > > > > > > > > > >>Hi Benjamin, > > > >> > > > >>You can use ctypes for direct access to serial ports via windows > apis > > > >>(openfile, readfile, writefile...) > > > >> > > > >>Note that manufacturers can have specific implementations, even they > > > >>must agree to PPC implementation, but you can found small > differences. > > > >> > > > >>http://www.codeproject.com/system/simpleserialcomm.asp > > > >> > > > >>Regards, > > > >>Gonzalo > > > >> > > > >> > > > >>Benjamin McBride escribi?: > > > >> > > > >> > > > >> > > > >>> Hi All, > > > >>> > > > >>> I need to access the serial port for my PPC application. I > have > > > >>> been > > > >>> unable to locate information on this. I'm using Python 2.4.3and > > > >>> PPC > > > >>> 2003. Previously I've used pyserial, but it appears that > pyserial > > > >>> does > > > >>> not work on Windows CE. > > > >>> > > > >>> Thanks for any suggestions, > > > >>> > > > >>> Ben McBride > > > >>> bdm7935 at ksu.edu > > > >>>_______________________________________________ > > > >>>PythonCE mailing list > > > >>>PythonCE at python.org > > > >>>http://mail.python.org/mailman/listinfo/pythonce > > > >>> > > > >>> > > > >>> > > > >>> > > > >>> > > > >> > > > >> > > > >_______________________________________________ > > > >PythonCE mailing list > > > >PythonCE at python.org > > > >http://mail.python.org/mailman/listinfo/pythonce > > > > > > > > > > > > > > > > > > > > _______________________________________________ > > PythonCE mailing list > > PythonCE at python.org > > http://mail.python.org/mailman/listinfo/pythonce > > _______________________________________________ > > PythonCE mailing list > > PythonCE at python.org > > http://mail.python.org/mailman/listinfo/pythonce > > > _______________________________________________ > PythonCE mailing list > PythonCE at python.org > http://mail.python.org/mailman/listinfo/pythonce > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.python.org/pipermail/pythonce/attachments/20060921/915f2b8b/attachment.html From benjamin.mcbride at gmail.com Fri Sep 22 19:18:23 2006 From: benjamin.mcbride at gmail.com (Benjamin McBride) Date: Fri, 22 Sep 2006 12:18:23 -0500 Subject: [PythonCE] serial port access Message-ID: I did get things mostly working. I've attached what I have done. I had problems with losing data at higher baud rates, so I buffered data in read(). If this is not the desired behavior it is easy to change (just look in the source). You also need ctypes installed. Good Luck, Ben -------------- next part -------------- A non-text attachment was scrubbed... Name: winbase.py Type: text/x-python Size: 7335 bytes Desc: not available Url : http://mail.python.org/pipermail/pythonce/attachments/20060922/5af92a01/attachment-0002.py -------------- next part -------------- A non-text attachment was scrubbed... Name: ceserial.py Type: text/x-python Size: 17044 bytes Desc: not available Url : http://mail.python.org/pipermail/pythonce/attachments/20060922/5af92a01/attachment-0003.py From sleepingbull at gmail.com Sat Sep 23 04:52:07 2006 From: sleepingbull at gmail.com (Matt S.) Date: Fri, 22 Sep 2006 19:52:07 -0700 Subject: [PythonCE] serial port access In-Reply-To: References: Message-ID: Ben, Thanks for the code. Here's some not very formatted stdout that I get when I run my test for your code. I'm not sure what to make of the strange characters that I get from the buffer output. Do you think it's binary? I tried to meld your code into the pygarmin.py code with some success. The pygarmin code has some recognition code that writes to the port which I think makes the program hang (not to mention that my replacement of the former methods with your methods is kind of similar to doing surgery with an axe). Today I also found NMEA.py, which decodes the standard GPS output (when it's ASCII, anyway). So now, if I'm lucky, maybe the odd buffer output can be simply translated into ASCII and NMEA.py used from there. If anyone has knowledge about finding and using GPS output I'd greatly appreciate getting a few lessons. Thanks again, Matt COM2: COM2: > not open! > > handle: 1734659954 > > timeouts, > self._timeout is not None or 0 > 1734659954 > buffer data: ?~? > On 9/22/06, Benjamin McBride wrote: > > I did get things mostly working. I've attached what I have done. I > had problems with losing data at higher baud rates, so I buffered data > in read(). If this is not the desired behavior it is easy to change > (just look in the source). > You also need ctypes installed. > > Good Luck, > > Ben > > > _______________________________________________ > 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/20060922/220e0898/attachment.htm From jeff_barish at earthlink.net Sun Sep 24 18:48:55 2006 From: jeff_barish at earthlink.net (Jeffrey Barish) Date: Sun, 24 Sep 2006 10:48:55 -0600 Subject: [PythonCE] Starting Python in specified directory Message-ID: I start Python from the Start Menu. Is there a way to get it to start in a specified directory (e.g., '\My Documents\myprog') everytime it starts? -- Jeffrey Barish From iksteen at gmail.com Mon Sep 25 12:04:56 2006 From: iksteen at gmail.com (Ingmar Steen) Date: Mon, 25 Sep 2006 12:04:56 +0200 Subject: [PythonCE] Starting Python in specified directory In-Reply-To: References: Message-ID: Hi Jeffrey Windows CE doesn't have the concept of a 'current directory' (so a starting directory makes no sense either) but python for windows ce emulates it internally, so there's no direct way of doing this. iirc, python defaults to a) the directory where the script you start resides (if you start \my documents\myprog\myprog.py, it'll start in \my documents\myprog) or b) the default path of the interpreter when started without any options in \tmp (or something similar). You could create a small dummy script in that path that just contains 'pass' and starting that using the python interpreter with the -i option (make a shortcut 'python -i "\My Documents\myprog\dummy.py"'). Hope this helps (and works! haven't actually tried it myself). Ingmar On 9/24/06, Jeffrey Barish wrote: > > I start Python from the Start Menu. Is there a way to get it to start in > a > specified directory (e.g., '\My Documents\myprog') everytime it starts? > -- > Jeffrey Barish > > _______________________________________________ > 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/20060925/1f67840f/attachment.htm From petri.wunsch at gmail.com Mon Sep 25 13:59:39 2006 From: petri.wunsch at gmail.com (Petri Wunsch) Date: Mon, 25 Sep 2006 14:59:39 +0300 Subject: [PythonCE] how to take screenshot from pocketPC screen Message-ID: Hi, Has anyone been able to do a script which takes a sceenshot from the active window on PocketPC and saves it to specified file? cheers Petri -- I love deadlines. I love the whooshing sound they make as they go by. - Douglas Adams From jeff_barish at earthlink.net Mon Sep 25 16:14:38 2006 From: jeff_barish at earthlink.net (Jeffrey Barish) Date: Mon, 25 Sep 2006 08:14:38 -0600 Subject: [PythonCE] how to take screenshot from pocketPC screen References: Message-ID: Petri Wunsch wrote: > Has anyone been able to do a script which takes a sceenshot from the > active window on PocketPC??and?saves?it?to?specified?file? I use Pocket Controller which has that capability built in. It can also capture a movie. It's not free, but it has so many useful capabilities that I can't imagine operating without it. -- Jeffrey Barish From jeff_barish at earthlink.net Mon Sep 25 16:43:23 2006 From: jeff_barish at earthlink.net (Jeffrey Barish) Date: Mon, 25 Sep 2006 08:43:23 -0600 Subject: [PythonCE] Starting Python in specified directory References: Message-ID: Ingmar Steen wrote: > You could create a small dummy script in that path that > just contains 'pass' and starting that using the python interpreter with > the -i option (make a shortcut 'python -i "\My > Documents\myprog\dummy.py"'). How do I create the shortcut in WM? Is there something like .pythonrc in WM that gets read everytime python starts? -- Jeffrey Barish From coder_infidel at hotmail.com Mon Sep 25 17:09:00 2006 From: coder_infidel at hotmail.com (Luke Dunstan) Date: Mon, 25 Sep 2006 23:09:00 +0800 Subject: [PythonCE] Starting Python in specified directory References: Message-ID: ----- Original Message ----- From: "Jeffrey Barish" To: Sent: Monday, September 25, 2006 10:43 PM Subject: Re: [PythonCE] Starting Python in specified directory > Ingmar Steen wrote: > >> You could create a small dummy script in that path that >> just contains 'pass' and starting that using the python interpreter with >> the -i option (make a shortcut 'python -i "\My >> Documents\myprog\dummy.py"'). > > How do I create the shortcut in WM? > > Is there something like .pythonrc in WM that gets read everytime python > starts? > -- > Jeffrey Barish Yes, "pythonrc.py". It is only run for interactive sessions, not when you double-click on a .py file, but that sounds like what you want. Luke From jeff_barish at earthlink.net Mon Sep 25 18:06:07 2006 From: jeff_barish at earthlink.net (Jeffrey Barish) Date: Mon, 25 Sep 2006 10:06:07 -0600 Subject: [PythonCE] Starting Python in specified directory References: Message-ID: Luke Dunstan wrote: > Yes, "pythonrc.py". It is only run for interactive sessions, not when you > double-click on a .py file, but that sounds like what you want. Yes, that is what I want. Where do I put pythonrc.py? I tried putting it in \Program Files\Python24 and its Lib and DLLs subfolders, but it isn't read automatically in any of those cases. -- Jeffrey Barish From bandung at skyesystems.com Tue Sep 26 05:24:13 2006 From: bandung at skyesystems.com (Bandung) Date: Mon, 25 Sep 2006 20:24:13 -0700 (PDT) Subject: [PythonCE] how to take screenshot from pocketPC screen In-Reply-To: References: Message-ID: <6499782.post@talk.nabble.com> You could try Remote Display from Microsoft. http://www.microsoft.com/technet/prodtechnol/wce/downloads/ppctoys.mspx remotedsp you will see the contents of your pda on a similar sized screen on your desktop. Then use your favourite desktop capture utilitiy. jeffbarish wrote: > > Petri Wunsch wrote: > >> Has anyone been able to do a script which takes a sceenshot from the >> active window on PocketPC and saves it to specified file? > > I use Pocket Controller which has that capability built in. It can also > capture a movie. It's not free, but it has so many useful capabilities > that I can't imagine operating without it. > -- > 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/how-to-take-screenshot-from-pocketPC-screen-tf2331190.html#a6499782 Sent from the Python - pythonce mailing list archive at Nabble.com. From bandung at skyesystems.com Tue Sep 26 05:28:37 2006 From: bandung at skyesystems.com (Bandung) Date: Mon, 25 Sep 2006 20:28:37 -0700 (PDT) Subject: [PythonCE] how to take screenshot from pocketPC screen In-Reply-To: <6499782.post@talk.nabble.com> References: <6499782.post@talk.nabble.com> Message-ID: <6499807.post@talk.nabble.com> There is also this free utility. I haven't used it in years. http://www.freewareppc.com/graphics/cecapture.shtml CeCapture will produce screen captures from your pda and save them in your documents folder. I'm not a big fan of bmp images. That's why I use the remote display utility nowadays. Bandung wrote: > > You could try Remote Display from Microsoft. > http://www.microsoft.com/technet/prodtechnol/wce/downloads/ppctoys.mspx > remotedsp you will see the contents of your pda on a similar sized > screen on your desktop. Then use your favourite desktop capture utilitiy. > > > > > jeffbarish wrote: >> >> Petri Wunsch wrote: >> >>> Has anyone been able to do a script which takes a sceenshot from the >>> active window on PocketPC and saves it to specified file? >> >> I use Pocket Controller which has that capability built in. It can also >> capture a movie. It's not free, but it has so many useful capabilities >> that I can't imagine operating without it. >> -- >> 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/how-to-take-screenshot-from-pocketPC-screen-tf2331190.html#a6499807 Sent from the Python - pythonce mailing list archive at Nabble.com. From bandung at skyesystems.com Tue Sep 26 16:32:40 2006 From: bandung at skyesystems.com (Bandung) Date: Tue, 26 Sep 2006 07:32:40 -0700 (PDT) Subject: [PythonCE] wxPython for PythonCE announcement In-Reply-To: <44E75668.102@goatadsl.co.uk> References: <20060731115412.23788.qmail@flock1.newmail.ru> <20060731124148.29121.qmail@flock1.newmail.ru> <5884972.post@talk.nabble.com> <44E75668.102@goatadsl.co.uk> Message-ID: <6508125.post@talk.nabble.com> I don't think that the problem has anything to do with the machine being "out of memory". I think the problem lies with the default paths that seemed to be hard wired into the binary packages. For example, the error message refers to line 4 within the _misc.py file within a directory tree that commences with \CF Card\Program Files\Python24\lib\wx\_.misc.py and so on. Well I don't have a CF Card on my pda. I then placed my Python24 installation along with all of the wx files within the main storage area rather than on my mini SD card. So now wxpythonce should be found under \Program Files\Python24\lib\wx rather than \Storage Card\Program Files\Python24\lib\wx. Guess what, even though Python launches from its new home, wxPythonce still thinks everything is under \CF Card\Program Files\Python24\lib\wx Apart from recompiling everything, there doesn't seem to be any way to change this behaviour since all of the python wrappers within the binary distribution are *.pyc files rather than *.py My guess is that those of us who do not have a "CF Card" storage designation on our pda's are "sol" on this release. I would love to be able to recompile this on my own in order to test this theory but not being a "computer man" I have not been able to compile anything that is windoz related. But point me to a "make" file on a linux machine and with deep gratitude to the maintainers of Linux relkated programs, I'm in my element. If someone could walk me through it, I have a Visual Studio 2005 Standard installation along with the windows movile 5.0 sdk package on my windoze machine. Perhaps we can resolve this mis behaviour. George-64 wrote: > > jeffbarish wrote: >> Did you ever resolve this issue? When I installed wxPython on a first >> PDA, >> it worked fine right away. However, I just installed it on a second one >> of >> the exact same model (Dell Axim X51v) with the exact same memory >> complement >> and have encountered the same problem you reported. > > I'm also getting the same problem running on a hw6915 with running > Windows Mobile 5 and with about 25 megs free. > > http://mail.python.org/pipermail/pythonce/2005-July/001100.html > > is about all I could find on the what's going on. > > George > _______________________________________________ > 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#a6508125 Sent from the Python - pythonce mailing list archive at Nabble.com. From bandung at skyesystems.com Tue Sep 26 16:32:40 2006 From: bandung at skyesystems.com (Bandung) Date: Tue, 26 Sep 2006 07:32:40 -0700 (PDT) Subject: [PythonCE] wxPython for PythonCE announcement In-Reply-To: <44E75668.102@goatadsl.co.uk> References: <20060731115412.23788.qmail@flock1.newmail.ru> <20060731124148.29121.qmail@flock1.newmail.ru> <5884972.post@talk.nabble.com> <44E75668.102@goatadsl.co.uk> Message-ID: <6508125.post@talk.nabble.com> I don't think that the problem has anything to do with the machine being "out of memory". I think the problem lies with the default paths that seemed to be hard wired into the binary packages. For example, the error message refers to line 4 within the _misc.py file within a directory tree that commences with \CF Card\Program Files\Python24\lib\wx\_.misc.py and so on. Well I don't have a CF Card on my pda. I then placed my Python24 installation along with all of the wx files within the main storage area rather than on my mini SD card. So now wxpythonce should be found under \Program Files\Python24\lib\wx rather than \Storage Card\Program Files\Python24\lib\wx. Guess what, even though Python launches from its new home, wxPythonce still thinks everything is under \CF Card\Program Files\Python24\lib\wx Apart from recompiling everything, there doesn't seem to be any way to change this behaviour since all of the python wrappers within the binary distribution are *.pyc files rather than *.py My guess is that those of us who do not have a "CF Card" storage designation on our pda's are "sol" on this release. I would love to be able to recompile this on my own in order to test this theory but not being a "computer man" I have not been able to compile anything that is windoz related. But point me to a "make" file on a linux machine and with deep gratitude to the maintainers of Linux related programs, I'm in my element. If someone could walk me through it, I have a Visual Studio 2005 Standard installation along with the windows movile 5.0 sdk package on my windoze machine. Perhaps we can resolve this mis behaviour. George-64 wrote: > > jeffbarish wrote: >> Did you ever resolve this issue? When I installed wxPython on a first >> PDA, >> it worked fine right away. However, I just installed it on a second one >> of >> the exact same model (Dell Axim X51v) with the exact same memory >> complement >> and have encountered the same problem you reported. > > I'm also getting the same problem running on a hw6915 with running > Windows Mobile 5 and with about 25 megs free. > > http://mail.python.org/pipermail/pythonce/2005-July/001100.html > > is about all I could find on the what's going on. > > George > _______________________________________________ > 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#a6508125 Sent from the Python - pythonce mailing list archive at Nabble.com. From bandung at skyesystems.com Tue Sep 26 17:00:06 2006 From: bandung at skyesystems.com (Bandung) Date: Tue, 26 Sep 2006 08:00:06 -0700 (PDT) Subject: [PythonCE] Trying to Code Python ON a Pocket PC Phone In-Reply-To: <17f9723f0609181410o490f357eub77a591af2758a15@mail.gmail.com> References: <17f9723f0609181410o490f357eub77a591af2758a15@mail.gmail.com> Message-ID: <6508667.post@talk.nabble.com> The only way that I know how to "edit" a *.py file rather than execute it is to change the registry entry that *.py point to in your registry. Normally .py calls the "pyfile" entry and it is within pyfile where one types the command to launch python24.exe. I simply point *.py to my Vim Open Start command which is within the registry entry "vimfile" and Vim launches instead. If you use "idle" as your editor, I suppose you could get it to do the same thing. If you are not familiar with modifying your registry to do this, don't worry. There are utilities that can do this for you. Now by doing this, you realize that you can no longer execute *.py files when you double click on them if you have a windows mobile 5.0 device. Since there is no console for Windows mobile 5.0, there is no way to launch a *.py without double clicking on it. If you have a windows mobile 2003, then you can download a console programme that will permit you to launch your *.py files from a dos like command line. So why do this personally? Well its only when I am doing a lot of editiing and I get weary of launching Vim and then opening up the appropriate *.py file. Without this trick, its a lot of keystrokes to open up a *.py file via Vim because Vim always starts its file open search in the default directory within main storage and all of my files are buried deep down a directory tree on my Storage Card. I can shell out of Vim on my desktop to run programmes that I am editing within Vim without exiting Vim. I haven't tried that on my pda because windows mobile 5.0 doesn't have a console so I naturally assume that I'm screwed. Because in most cases, I am screwed on Windows Mobile 5.0 I can't get things like OpenSSH working because this version of mobile windoze lacks this console. Plus there are many other terrible side effects to this missing console feature such as not having any raw_inout" capabilities from my python24ce interpreter. Sigh .... David P. Gil wrote: > > I copied some files for a basic Python project im working onto my PDA > Phone > to work on and install PythonCE on it. In a previous reply, someone told > me > to just double tap my python files and it should allow me to edit them. > Apparently when I do this, the script is run instead. I don't want to use > interactive mode I want the script mode so I can write and edit bigger > python programs. Does anyone know how I can do this? > > Sorry if this seems like too basic of a question. Have sympathy, I am an > artist working in the game industry taking interest in the wacky work of > programming. Thanks in advance for any help you can provide. > > _______________________________________________ > PythonCE mailing list > PythonCE at python.org > http://mail.python.org/mailman/listinfo/pythonce > > -- View this message in context: http://www.nabble.com/Trying-to-Code-Python-ON-a-Pocket-PC-Phone-tf2293883.html#a6508667 Sent from the Python - pythonce mailing list archive at Nabble.com. From bandung at skyesystems.com Tue Sep 26 17:00:06 2006 From: bandung at skyesystems.com (Bandung) Date: Tue, 26 Sep 2006 08:00:06 -0700 (PDT) Subject: [PythonCE] Trying to Code Python ON a Pocket PC Phone In-Reply-To: <17f9723f0609181410o490f357eub77a591af2758a15@mail.gmail.com> References: <17f9723f0609181410o490f357eub77a591af2758a15@mail.gmail.com> Message-ID: <6508667.post@talk.nabble.com> The only way that I know how to "edit" a *.py file rather than execute it is to change the registry entry that *.py points to in your registry. Normally .py calls the "pyfile" entry and it is within pyfile where one types the command to launch python24.exe. I simply point *.py to my Vim Open Start command which is within the registry entry "vimfile" and Vim launches instead. If you use "idle" as your editor, I suppose you could get it to do the same thing. If you are not familiar with modifying your registry to do this, don't worry. There are utilities that can do this for you. Now by doing this, you realize that you can no longer execute *.py files when you double click on them if you have a windows mobile 5.0 device. Since there is no console for Windows mobile 5.0, there is no way to launch a *.py without double clicking on it. If you have a windows mobile 2003, then you can download a console programme that will permit you to launch your *.py files from a dos like command line. So why do this personally? Well its only when I am doing a lot of editiing and I get weary of launching Vim and then opening up the appropriate *.py file. Without this trick, its a lot of keystrokes to open up a *.py file via Vim because Vim always starts its file open search in the default directory within main storage and all of my files are buried deep down a directory tree on my Storage Card. I can shell out of Vim on my desktop to run programmes that I am editing within Vim without exiting Vim. I haven't tried that on my pda because windows mobile 5.0 doesn't have a console so I naturally assume that I'm screwed. Because in most cases, I am screwed on Windows Mobile 5.0 I can't get things like OpenSSH working because this version of mobile windoze lacks this console. Plus there are many other terrible side effects to this missing console feature such as not having any raw_inout" capabilities from my python24ce interpreter. Sigh .... David P. Gil wrote: > > I copied some files for a basic Python project im working onto my PDA > Phone > to work on and install PythonCE on it. In a previous reply, someone told > me > to just double tap my python files and it should allow me to edit them. > Apparently when I do this, the script is run instead. I don't want to use > interactive mode I want the script mode so I can write and edit bigger > python programs. Does anyone know how I can do this? > > Sorry if this seems like too basic of a question. Have sympathy, I am an > artist working in the game industry taking interest in the wacky work of > programming. Thanks in advance for any help you can provide. > > _______________________________________________ > PythonCE mailing list > PythonCE at python.org > http://mail.python.org/mailman/listinfo/pythonce > > -- View this message in context: http://www.nabble.com/Trying-to-Code-Python-ON-a-Pocket-PC-Phone-tf2293883.html#a6508667 Sent from the Python - pythonce mailing list archive at Nabble.com. From bandung at skyesystems.com Tue Sep 26 20:35:54 2006 From: bandung at skyesystems.com (Bandung) Date: Tue, 26 Sep 2006 11:35:54 -0700 (PDT) Subject: [PythonCE] Trying to Code Python ON a Pocket PC Phone In-Reply-To: <6508667.post@talk.nabble.com> References: <17f9723f0609181410o490f357eub77a591af2758a15@mail.gmail.com> <6508667.post@talk.nabble.com> Message-ID: <6512966.post@talk.nabble.com> I've come across a nice little plugin for Vim that permits me to run/execute a python script from within Vim. It works like a charm on my Windows desktop as well as Linux desktop. Its called http://www.petersblog.org/node/461 runscript.vim The script makes use of function keys F9, F11 and F12. The lack of these hardware keys on my pda doesn't bother me since I can substitue other key combinations using the appropriate entries within my _vimrc file. What's nice about this plugin is that it will even launch my python scripts that have gui interfaces. The trick is to get it working on my pda. What is also potentially nice about this plugin is that if I can get it working, I can use Vim as a sort of windows mobile 5.0 console. Then I can edit files within Vim and by typing :!start python %s .... as an example, get that script to run on my pda. Being ever suspicious of mobile windoze, before transferring this script to my pda, I wanted to see if I could launch programs from within Vim using the :!start command. Much to my surprise, I can launch embedded mobile apps such as Word (aka pword). I just type :!start pword and by gosh, up pops pocket word. I haven't been able to get python.exe to launch since it is located inside my Storage Card and the :!start command just doesn't see that directory. I wish there was a "path" equivalent for Windows mobile so that I could put \Storage Card\Program Files\Python24 in the path statement and just type :!start python.exe Anyways, I will keep plugging away at this. I found another script that will permit me to put breakpoints within the python code being edited within Vim so that I can debug it. The plugin calls python's built in debugger and executes the script being edited by Vim within this debugger. I don't know yet whether or not this debugger is part of the pythonce build. Bandung wrote: > > The only way that I know how to "edit" a *.py file rather than execute it > is to change the registry entry that *.py points to in your registry. > Normally .py calls the "pyfile" entry and it is within pyfile where one > types the command to launch python24.exe. I simply point *.py to my Vim > Open Start command which is within the registry entry "vimfile" and Vim > launches instead. If you use "idle" as your editor, I suppose you could > get it to do the same thing. If you are not familiar with modifying your > registry to do this, don't worry. There are utilities that can do this > for you. > > Now by doing this, you realize that you can no longer execute *.py files > when you double click on them if you have a windows mobile 5.0 device. > Since there is no console for Windows mobile 5.0, there is no way to > launch a *.py without double clicking on it. If you have a windows mobile > 2003, then you can download a console programme that will permit you to > launch your *.py files from a dos like command line. > > So why do this personally? Well its only when I am doing a lot of > editiing and I get weary of launching Vim and then opening up the > appropriate *.py file. Without this trick, its a lot of keystrokes to > open up a *.py file via Vim because Vim always starts its file open search > in the default directory within main storage and all of my files are > buried deep down a directory tree on my Storage Card. > > I can shell out of Vim on my desktop to run programmes that I am editing > within Vim without exiting Vim. I haven't tried that on my pda because > windows mobile 5.0 doesn't have a console so I naturally assume that I'm > screwed. Because in most cases, I am screwed on Windows Mobile 5.0 I > can't get things like OpenSSH working because this version of mobile > windoze lacks this console. Plus there are many other terrible side > effects to this missing console feature such as not having any raw_inout" > capabilities from my python24ce interpreter. > > Sigh .... > > > David P. Gil wrote: >> >> I copied some files for a basic Python project im working onto my PDA >> Phone >> to work on and install PythonCE on it. In a previous reply, someone told >> me >> to just double tap my python files and it should allow me to edit them. >> Apparently when I do this, the script is run instead. I don't want to use >> interactive mode I want the script mode so I can write and edit bigger >> python programs. Does anyone know how I can do this? >> >> Sorry if this seems like too basic of a question. Have sympathy, I am an >> artist working in the game industry taking interest in the wacky work of >> programming. Thanks in advance for any help you can provide. >> >> _______________________________________________ >> PythonCE mailing list >> PythonCE at python.org >> http://mail.python.org/mailman/listinfo/pythonce >> >> > > -- View this message in context: http://www.nabble.com/Trying-to-Code-Python-ON-a-Pocket-PC-Phone-tf2293883.html#a6512966 Sent from the Python - pythonce mailing list archive at Nabble.com. From coder_infidel at hotmail.com Wed Sep 27 15:40:00 2006 From: coder_infidel at hotmail.com (Luke Dunstan) Date: Wed, 27 Sep 2006 21:40:00 +0800 Subject: [PythonCE] Trying to Code Python ON a Pocket PC Phone References: <17f9723f0609181410o490f357eub77a591af2758a15@mail.gmail.com><6508667.post@talk.nabble.com> <6512966.post@talk.nabble.com> Message-ID: ----- Original Message ----- From: "Bandung" To: Sent: Wednesday, September 27, 2006 2:35 AM Subject: Re: [PythonCE] Trying to Code Python ON a Pocket PC Phone > I > wish there was a "path" equivalent for Windows mobile so that I could put > \Storage Card\Program Files\Python24 in the path statement and just type > :!start python.exe Have you tried this?: :!start "\Storage Card\Program Files\Python24\python.exe" (I haven't) Luke From coder_infidel at hotmail.com Wed Sep 27 15:46:21 2006 From: coder_infidel at hotmail.com (Luke Dunstan) Date: Wed, 27 Sep 2006 21:46:21 +0800 Subject: [PythonCE] Starting Python in specified directory References: Message-ID: ----- Original Message ----- From: "Jeffrey Barish" To: Sent: Tuesday, September 26, 2006 12:06 AM Subject: Re: [PythonCE] Starting Python in specified directory > Luke Dunstan wrote: > >> Yes, "pythonrc.py". It is only run for interactive sessions, not when you >> double-click on a .py file, but that sounds like what you want. > > Yes, that is what I want. Where do I put pythonrc.py? I tried putting it > in \Program Files\Python24 and its Lib and DLLs subfolders, but it isn't > read automatically in any of those cases. > -- > Jeffrey Barish Hmm, good point. It is currently looking in \Temp which is not ideal. Luke From jeff_barish at earthlink.net Wed Sep 27 16:22:37 2006 From: jeff_barish at earthlink.net (Jeffrey Barish) Date: Wed, 27 Sep 2006 08:22:37 -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> Message-ID: Bandung wrote: > My guess is that those of us who do not have a "CF Card" storage > designation on our pda's are "sol" on this release. I now have wxPythonCE running on both Dell Axim X51v PDAs. Neither has CF storage. In my efforts to get the package to run on the second PDA, I actually tried moving wx onto a CF card. I still got the same message about insufficient storage. I aggressively deleted programs to free memory until I had significantly more free memory than I had on the first PDA but I still got the message. Eventually after much experimentation the package mysteriously started to work running in main memory. I don't know what I did to make it work, but 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. -- Jeffrey Barish From bandung at skyesystems.com Wed Sep 27 18:53:29 2006 From: bandung at skyesystems.com (Bandung) Date: Wed, 27 Sep 2006 09:53:29 -0700 (PDT) Subject: [PythonCE] Trying to Code Python ON a Pocket PC Phone In-Reply-To: References: <17f9723f0609181410o490f357eub77a591af2758a15@mail.gmail.com> <6508667.post@talk.nabble.com> <6512966.post@talk.nabble.com> Message-ID: <6530716.post@talk.nabble.com> Yes, I've tried typing long path names that point into the Storage Card and I get nothing but the failed error -1. Too bad windows doesn't have the same concept as a Linux link. It seems that if I put my *.exe files into the windows directory, then :!start will find it. Luke Dunstan wrote: > > > ----- Original Message ----- > From: "Bandung" > To: > Sent: Wednesday, September 27, 2006 2:35 AM > Subject: Re: [PythonCE] Trying to Code Python ON a Pocket PC Phone > > >> I >> wish there was a "path" equivalent for Windows mobile so that I could put >> \Storage Card\Program Files\Python24 in the path statement and just type >> :!start python.exe > > Have you tried this?: > > :!start "\Storage Card\Program Files\Python24\python.exe" > > (I haven't) > > Luke > > _______________________________________________ > PythonCE mailing list > PythonCE at python.org > http://mail.python.org/mailman/listinfo/pythonce > > -- View this message in context: http://www.nabble.com/Trying-to-Code-Python-ON-a-Pocket-PC-Phone-tf2293883.html#a6530716 Sent from the Python - pythonce mailing list archive at Nabble.com. From bandung at skyesystems.com Wed Sep 27 20:01:50 2006 From: bandung at skyesystems.com (Bandung) Date: Wed, 27 Sep 2006 11:01:50 -0700 (PDT) Subject: [PythonCE] Trying to Code Python ON a Pocket PC Phone In-Reply-To: <6530716.post@talk.nabble.com> References: <17f9723f0609181410o490f357eub77a591af2758a15@mail.gmail.com> <6508667.post@talk.nabble.com> <6512966.post@talk.nabble.com> <6530716.post@talk.nabble.com> Message-ID: <6532035.post@talk.nabble.com> Ugggh. retraction here. I can indeed call python.exe from my storage card using the long path convention. What I meant to say is that I haven't yet figured out how to execute a script sitting on my storage card. Thank you for pointing it out that executables do indeed work with the full path statement. Unfortunately for me, the whole point of this whole sordid exercise is to get the script to run.. That old gotcha about the lack of a true console and commands such as "raw_input" or "input" not being supported within the pythonce port has reared its ugly head again. And as you once wrote on this site, this is probably why commands such as "python.exe -i" or the -m or -c option don't work. Still there is hope that this "exercise" might yet work. I found a little utility that will start python.exe and then when I pass along the name of the python script that I wish to run, it runs that script. Its a binary that installs on the pda. http://www.pocketpcdn.com/articles/samples/Run_arm.exe run_arm.exe So if the author figured out how to do that with his proggie, then I most assuredly should be able to do it within Vim. Apart from having the desire to have the commands "raw_input" and "python.exe -i {script}" working, I would love to have my pocket Vim compiled with the python option. In that way, I could write my Vim macros in python! Alas I know jack about how to get visual studio to compile anything. I still have eVC3 which I used to use for little Visual Basic proggies on my HPC 2000 but that was way back when I was a Microsoft bigot. Since all of my programming efforts are simply part time and personal, today, if it doesn't say Open Source with the word "Python" along side of it, I ain't very interested. Anyways, the pocket Vim exercise looks mucho promising. Now if I could just get pysqlite with sqlite3 and wxpythonce and bwidgets to "bleepin" work... Bandung wrote: > > Yes, I've tried typing long path names that point into the Storage Card > and I get nothing but the failed error -1. Too bad windows doesn't have > the same concept as a Linux link. It seems that if I put my *.exe files > into the windows directory, then :!start will find it. > > > Luke Dunstan wrote: >> >> >> ----- Original Message ----- >> From: "Bandung" >> To: >> Sent: Wednesday, September 27, 2006 2:35 AM >> Subject: Re: [PythonCE] Trying to Code Python ON a Pocket PC Phone >> >> >>> I >>> wish there was a "path" equivalent for Windows mobile so that I could >>> put >>> \Storage Card\Program Files\Python24 in the path statement and just type >>> :!start python.exe >> >> Have you tried this?: >> >> :!start "\Storage Card\Program Files\Python24\python.exe" >> >> (I haven't) >> >> Luke >> >> _______________________________________________ >> PythonCE mailing list >> PythonCE at python.org >> http://mail.python.org/mailman/listinfo/pythonce >> >> > > -- View this message in context: http://www.nabble.com/Trying-to-Code-Python-ON-a-Pocket-PC-Phone-tf2293883.html#a6532035 Sent from the Python - pythonce mailing list archive at Nabble.com. From davidpgil at gmail.com Wed Sep 27 20:41:11 2006 From: davidpgil at gmail.com (David P. Gil) Date: Wed, 27 Sep 2006 14:41:11 -0400 Subject: [PythonCE] PythonCE Digest, Vol 38, Issue 13 In-Reply-To: References: Message-ID: <17f9723f0609271141h32f1ff1eq12bc0a23050a27e4@mail.gmail.com> Bandung, interesting stuff. I will have to try it! I want to code on my phone so I can practice my programming during my train rides. Maybe it sounds like something a person would not want to do, i feel like its my only opportunity to really try and get better at programming since all I do is art at work all day. Many thanks! On 9/27/06, pythonce-request at python.org wrote: > > Send PythonCE mailing list submissions to > pythonce at python.org > > To subscribe or unsubscribe via the World Wide Web, visit > http://mail.python.org/mailman/listinfo/pythonce > or, via email, send a message with subject or body 'help' to > pythonce-request at python.org > > You can reach the person managing the list at > pythonce-owner at python.org > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of PythonCE digest..." > > > Today's Topics: > > 1. Re: wxPython for PythonCE announcement (Bandung) > 2. Re: wxPython for PythonCE announcement (Bandung) > 3. Re: Trying to Code Python ON a Pocket PC Phone (Bandung) > 4. Re: Trying to Code Python ON a Pocket PC Phone (Bandung) > 5. Re: Trying to Code Python ON a Pocket PC Phone (Bandung) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Tue, 26 Sep 2006 07:32:40 -0700 (PDT) > From: Bandung > Subject: Re: [PythonCE] wxPython for PythonCE announcement > To: pythonce at python.org > Message-ID: <6508125.post at talk.nabble.com> > Content-Type: text/plain; charset=us-ascii > > > I don't think that the problem has anything to do with the machine being > "out > of memory". > > I think the problem lies with the default paths that seemed to be hard > wired > into the binary packages. For example, the error message refers to line 4 > within the _misc.py file within a directory tree that commences with \CF > Card\Program Files\Python24\lib\wx\_.misc.py and so on. Well I don't > have > a CF Card on my pda. > > I then placed my Python24 installation along with all of the wx files > within > the main storage area rather than on my mini SD card. So now wxpythonce > should be found under \Program Files\Python24\lib\wx rather than \Storage > Card\Program Files\Python24\lib\wx. > > Guess what, even though Python launches from its new home, wxPythonce > still > thinks everything is under \CF Card\Program Files\Python24\lib\wx > > Apart from recompiling everything, there doesn't seem to be any way to > change this behaviour since all of the python wrappers within the binary > distribution are *.pyc files rather than *.py > > My guess is that those of us who do not have a "CF Card" storage > designation > on our pda's are "sol" on this release. I would love to be able to > recompile this on my own in order to test this theory but not being a > "computer man" I have not been able to compile anything that is windoz > related. But point me to a "make" file on a linux machine and with deep > gratitude to the maintainers of Linux relkated programs, I'm in my > element. > > If someone could walk me through it, I have a Visual Studio 2005 Standard > installation along with the windows movile 5.0 sdk package on my windoze > machine. Perhaps we can resolve this mis behaviour. > > > > George-64 wrote: > > > > jeffbarish wrote: > >> Did you ever resolve this issue? When I installed wxPython on a first > >> PDA, > >> it worked fine right away. However, I just installed it on a second > one > >> of > >> the exact same model (Dell Axim X51v) with the exact same memory > >> complement > >> and have encountered the same problem you reported. > > > > I'm also getting the same problem running on a hw6915 with running > > Windows Mobile 5 and with about 25 megs free. > > > > http://mail.python.org/pipermail/pythonce/2005-July/001100.html > > > > is about all I could find on the what's going on. > > > > George > > _______________________________________________ > > 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#a6508125 > Sent from the Python - pythonce mailing list archive at Nabble.com. > > > > ------------------------------ > > Message: 2 > Date: Tue, 26 Sep 2006 07:32:40 -0700 (PDT) > From: Bandung > Subject: Re: [PythonCE] wxPython for PythonCE announcement > To: pythonce at python.org > Message-ID: <6508125.post at talk.nabble.com> > Content-Type: text/plain; charset=us-ascii > > > I don't think that the problem has anything to do with the machine being > "out > of memory". > > I think the problem lies with the default paths that seemed to be hard > wired > into the binary packages. For example, the error message refers to line 4 > within the _misc.py file within a directory tree that commences with \CF > Card\Program Files\Python24\lib\wx\_.misc.py and so on. Well I don't > have > a CF Card on my pda. > > I then placed my Python24 installation along with all of the wx files > within > the main storage area rather than on my mini SD card. So now wxpythonce > should be found under \Program Files\Python24\lib\wx rather than \Storage > Card\Program Files\Python24\lib\wx. > > Guess what, even though Python launches from its new home, wxPythonce > still > thinks everything is under \CF Card\Program Files\Python24\lib\wx > > Apart from recompiling everything, there doesn't seem to be any way to > change this behaviour since all of the python wrappers within the binary > distribution are *.pyc files rather than *.py > > My guess is that those of us who do not have a "CF Card" storage > designation > on our pda's are "sol" on this release. I would love to be able to > recompile this on my own in order to test this theory but not being a > "computer man" I have not been able to compile anything that is windoz > related. But point me to a "make" file on a linux machine and with deep > gratitude to the maintainers of Linux related programs, I'm in my element. > > If someone could walk me through it, I have a Visual Studio 2005 Standard > installation along with the windows movile 5.0 sdk package on my windoze > machine. Perhaps we can resolve this mis behaviour. > > > > George-64 wrote: > > > > jeffbarish wrote: > >> Did you ever resolve this issue? When I installed wxPython on a first > >> PDA, > >> it worked fine right away. However, I just installed it on a second > one > >> of > >> the exact same model (Dell Axim X51v) with the exact same memory > >> complement > >> and have encountered the same problem you reported. > > > > I'm also getting the same problem running on a hw6915 with running > > Windows Mobile 5 and with about 25 megs free. > > > > http://mail.python.org/pipermail/pythonce/2005-July/001100.html > > > > is about all I could find on the what's going on. > > > > George > > _______________________________________________ > > 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#a6508125 > Sent from the Python - pythonce mailing list archive at Nabble.com. > > > > ------------------------------ > > Message: 3 > Date: Tue, 26 Sep 2006 08:00:06 -0700 (PDT) > From: Bandung > Subject: Re: [PythonCE] Trying to Code Python ON a Pocket PC Phone > To: pythonce at python.org > Message-ID: <6508667.post at talk.nabble.com> > Content-Type: text/plain; charset=us-ascii > > > The only way that I know how to "edit" a *.py file rather than execute it > is > to change the registry entry that *.py point to in your > registry. Normally > .py calls the "pyfile" entry and it is within pyfile where one types the > command to launch python24.exe. I simply point *.py to my Vim Open Start > command which is within the registry entry "vimfile" and Vim launches > instead. If you use "idle" as your editor, I suppose you could get it to > do > the same thing. If you are not familiar with modifying your registry to > do > this, don't worry. There are utilities that can do this for you. > > Now by doing this, you realize that you can no longer execute *.py files > when you double click on them if you have a windows mobile 5.0 device. > Since there is no console for Windows mobile 5.0, there is no way to > launch > a *.py without double clicking on it. If you have a windows mobile 2003, > then you can download a console programme that will permit you to launch > your *.py files from a dos like command line. > > So why do this personally? Well its only when I am doing a lot of > editiing > and I get weary of launching Vim and then opening up the appropriate *.py > file. Without this trick, its a lot of keystrokes to open up a *.py file > via Vim because Vim always starts its file open search in the default > directory within main storage and all of my files are buried deep down a > directory tree on my Storage Card. > > I can shell out of Vim on my desktop to run programmes that I am editing > within Vim without exiting Vim. I haven't tried that on my pda because > windows mobile 5.0 doesn't have a console so I naturally assume that I'm > screwed. Because in most cases, I am screwed on Windows Mobile 5.0 I > can't > get things like OpenSSH working because this version of mobile windoze > lacks > this console. Plus there are many other terrible side effects to this > missing console feature such as not having any raw_inout" capabilities > from > my python24ce interpreter. > > Sigh .... > > > David P. Gil wrote: > > > > I copied some files for a basic Python project im working onto my PDA > > Phone > > to work on and install PythonCE on it. In a previous reply, someone told > > me > > to just double tap my python files and it should allow me to edit them. > > Apparently when I do this, the script is run instead. I don't want to > use > > interactive mode I want the script mode so I can write and edit bigger > > python programs. Does anyone know how I can do this? > > > > Sorry if this seems like too basic of a question. Have sympathy, I am an > > artist working in the game industry taking interest in the wacky work of > > programming. Thanks in advance for any help you can provide. > > > > _______________________________________________ > > PythonCE mailing list > > PythonCE at python.org > > http://mail.python.org/mailman/listinfo/pythonce > > > > > > -- > View this message in context: > http://www.nabble.com/Trying-to-Code-Python-ON-a-Pocket-PC-Phone-tf2293883.html#a6508667 > Sent from the Python - pythonce mailing list archive at Nabble.com. > > > > ------------------------------ > > Message: 4 > Date: Tue, 26 Sep 2006 08:00:06 -0700 (PDT) > From: Bandung > Subject: Re: [PythonCE] Trying to Code Python ON a Pocket PC Phone > To: pythonce at python.org > Message-ID: <6508667.post at talk.nabble.com> > Content-Type: text/plain; charset=us-ascii > > > The only way that I know how to "edit" a *.py file rather than execute it > is > to change the registry entry that *.py points to in your > registry. Normally > .py calls the "pyfile" entry and it is within pyfile where one types the > command to launch python24.exe. I simply point *.py to my Vim Open Start > command which is within the registry entry "vimfile" and Vim launches > instead. If you use "idle" as your editor, I suppose you could get it to > do > the same thing. If you are not familiar with modifying your registry to > do > this, don't worry. There are utilities that can do this for you. > > Now by doing this, you realize that you can no longer execute *.py files > when you double click on them if you have a windows mobile 5.0 device. > Since there is no console for Windows mobile 5.0, there is no way to > launch > a *.py without double clicking on it. If you have a windows mobile 2003, > then you can download a console programme that will permit you to launch > your *.py files from a dos like command line. > > So why do this personally? Well its only when I am doing a lot of > editiing > and I get weary of launching Vim and then opening up the appropriate *.py > file. Without this trick, its a lot of keystrokes to open up a *.py file > via Vim because Vim always starts its file open search in the default > directory within main storage and all of my files are buried deep down a > directory tree on my Storage Card. > > I can shell out of Vim on my desktop to run programmes that I am editing > within Vim without exiting Vim. I haven't tried that on my pda because > windows mobile 5.0 doesn't have a console so I naturally assume that I'm > screwed. Because in most cases, I am screwed on Windows Mobile 5.0 I > can't > get things like OpenSSH working because this version of mobile windoze > lacks > this console. Plus there are many other terrible side effects to this > missing console feature such as not having any raw_inout" capabilities > from > my python24ce interpreter. > > Sigh .... > > > David P. Gil wrote: > > > > I copied some files for a basic Python project im working onto my PDA > > Phone > > to work on and install PythonCE on it. In a previous reply, someone told > > me > > to just double tap my python files and it should allow me to edit them. > > Apparently when I do this, the script is run instead. I don't want to > use > > interactive mode I want the script mode so I can write and edit bigger > > python programs. Does anyone know how I can do this? > > > > Sorry if this seems like too basic of a question. Have sympathy, I am an > > artist working in the game industry taking interest in the wacky work of > > programming. Thanks in advance for any help you can provide. > > > > _______________________________________________ > > PythonCE mailing list > > PythonCE at python.org > > http://mail.python.org/mailman/listinfo/pythonce > > > > > > -- > View this message in context: > http://www.nabble.com/Trying-to-Code-Python-ON-a-Pocket-PC-Phone-tf2293883.html#a6508667 > Sent from the Python - pythonce mailing list archive at Nabble.com. > > > > ------------------------------ > > Message: 5 > Date: Tue, 26 Sep 2006 11:35:54 -0700 (PDT) > From: Bandung > Subject: Re: [PythonCE] Trying to Code Python ON a Pocket PC Phone > To: pythonce at python.org > Message-ID: <6512966.post at talk.nabble.com> > Content-Type: text/plain; charset=us-ascii > > > I've come across a nice little plugin for Vim that permits me to > run/execute > a python script from within Vim. It works like a charm on my Windows > desktop as well as Linux desktop. Its called > http://www.petersblog.org/node/461 runscript.vim The script makes use of > function keys F9, F11 and F12. The lack of these hardware keys on my pda > doesn't bother me since I can substitue other key combinations using the > appropriate entries within my _vimrc file. What's nice about this plugin > is > that it will even launch my python scripts that have gui interfaces. The > trick is to get it working on my pda. > > What is also potentially nice about this plugin is that if I can get it > working, I can use Vim as a sort of windows mobile 5.0 console. Then I > can > edit files within Vim and by typing :!start python %s .... as an example, > get that script to run on my pda. Being ever suspicious of mobile > windoze, > before transferring this script to my pda, I wanted to see if I could > launch > programs from within Vim using the :!start command. > > Much to my surprise, I can launch embedded mobile apps such as Word (aka > pword). I just type :!start pword and by gosh, up pops pocket word. I > haven't been able to get python.exe to launch since it is located inside > my > Storage Card and the :!start command just doesn't see that directory. I > wish there was a "path" equivalent for Windows mobile so that I could put > \Storage Card\Program Files\Python24 in the path statement and just type > :!start python.exe > > Anyways, I will keep plugging away at this. I found another script that > will permit me to put breakpoints within the python code being edited > within > Vim so that I can debug it. The plugin calls python's built in debugger > and > executes the script being edited by Vim within this debugger. I don't > know > yet whether or not this debugger is part of the pythonce build. > > > > > > Bandung wrote: > > > > The only way that I know how to "edit" a *.py file rather than execute > it > > is to change the registry entry that *.py points to in your registry. > > Normally .py calls the "pyfile" entry and it is within pyfile > where one > > types the command to launch python24.exe. I simply point *.py to my > Vim > > Open Start command which is within the registry entry "vimfile" and Vim > > launches instead. If you use "idle" as your editor, I suppose you could > > get it to do the same thing. If you are not familiar with modifying > your > > registry to do this, don't worry. There are utilities that can do this > > for you. > > > > Now by doing this, you realize that you can no longer execute *.py files > > when you double click on them if you have a windows mobile 5.0 device. > > Since there is no console for Windows mobile 5.0, there is no way to > > launch a *.py without double clicking on it. If you have a windows > mobile > > 2003, then you can download a console programme that will permit you to > > launch your *.py files from a dos like command line. > > > > So why do this personally? Well its only when I am doing a lot of > > editiing and I get weary of launching Vim and then opening up the > > appropriate *.py file. Without this trick, its a lot of keystrokes to > > open up a *.py file via Vim because Vim always starts its file open > search > > in the default directory within main storage and all of my files are > > buried deep down a directory tree on my Storage Card. > > > > I can shell out of Vim on my desktop to run programmes that I am editing > > within Vim without exiting Vim. I haven't tried that on my pda because > > windows mobile 5.0 doesn't have a console so I naturally assume that I'm > > screwed. Because in most cases, I am screwed on Windows Mobile 5.0 I > > can't get things like OpenSSH working because this version of mobile > > windoze lacks this console. Plus there are many other terrible side > > effects to this missing console feature such as not having any > raw_inout" > > capabilities from my python24ce interpreter. > > > > Sigh .... > > > > > > David P. Gil wrote: > >> > >> I copied some files for a basic Python project im working onto my PDA > >> Phone > >> to work on and install PythonCE on it. In a previous reply, someone > told > >> me > >> to just double tap my python files and it should allow me to edit them. > >> Apparently when I do this, the script is run instead. I don't want to > use > >> interactive mode I want the script mode so I can write and edit bigger > >> python programs. Does anyone know how I can do this? > >> > >> Sorry if this seems like too basic of a question. Have sympathy, I am > an > >> artist working in the game industry taking interest in the wacky work > of > >> programming. Thanks in advance for any help you can provide. > >> > >> _______________________________________________ > >> PythonCE mailing list > >> PythonCE at python.org > >> http://mail.python.org/mailman/listinfo/pythonce > >> > >> > > > > > > -- > View this message in context: > http://www.nabble.com/Trying-to-Code-Python-ON-a-Pocket-PC-Phone-tf2293883.html#a6512966 > 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 > > > End of PythonCE Digest, Vol 38, Issue 13 > **************************************** > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.python.org/pipermail/pythonce/attachments/20060927/731b8a05/attachment.html From jeff_barish at earthlink.net Wed Sep 27 21:15:22 2006 From: jeff_barish at earthlink.net (Jeffrey Barish) Date: Wed, 27 Sep 2006 13:15:22 -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> Message-ID: 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 From andy at andybak.net Thu Sep 28 02:15:30 2006 From: andy at andybak.net (Andy Baker) Date: Thu, 28 Sep 2006 01:15:30 +0100 Subject: [PythonCE] Fwd: PythonCE Digest, Vol 38, Issue 13 In-Reply-To: <85d9ccbb0609271153m52bc2f46kd3d4dacbb1d150af@mail.gmail.com> References: <17f9723f0609271141h32f1ff1eq12bc0a23050a27e4@mail.gmail.com> <85d9ccbb0609271153m52bc2f46kd3d4dacbb1d150af@mail.gmail.com> Message-ID: <85d9ccbb0609271715n3209e19ft5442ba9677d646b7@mail.gmail.com> Has anyone tried this?: http://sourceforge.net/projects/pyeditce -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.python.org/pipermail/pythonce/attachments/20060928/8a04e419/attachment.html From bandung at skyesystems.com Thu Sep 28 15:20:10 2006 From: bandung at skyesystems.com (Bandung) Date: Thu, 28 Sep 2006 06:20:10 -0700 (PDT) Subject: [PythonCE] Fwd: PythonCE Digest, Vol 38, Issue 13 In-Reply-To: <85d9ccbb0609271715n3209e19ft5442ba9677d646b7@mail.gmail.com> References: <17f9723f0609271141h32f1ff1eq12bc0a23050a27e4@mail.gmail.com> <85d9ccbb0609271715n3209e19ft5442ba9677d646b7@mail.gmail.com> Message-ID: <6546214.post@talk.nabble.com> I have. Its an interesting gui builder for Tkinter. And while I like its ability to place the few Tkinter objects that it currently supports, anywhere within the main window, it is not complete enough to develop any serious guis. One is forced to open up your favourite editor and begin hacking. All I use it for is rapid prototyping of a few layout concepts, to get an idea of where I might want to place things. Lately I'm finding it equally as fast to simply pull up a few base classes of previously designed layouts and rework or sub class them. My biggest complaint with this layout editor is its use of the "place" geometry manager. I much prefer to use the "grid" geometry manager. Second, I prefer to have my widgets placed on frames rather than the main app window. I have inputted these desires to the author in hopes that the next release will change that behaviour. Also, the font is too small to read the menu bar or do any serious editing of source code. Overall, for my Tkinter gui development projects, I'm sticking to typing in the commands and viewing the results. And as for editing source code, there is no way that this competes with idle or Vim which both have good syntax hiliting and a host of other features. Andy Baker wrote: > > Has anyone tried this?: > > http://sourceforge.net/projects/pyeditce > > _______________________________________________ > PythonCE mailing list > PythonCE at python.org > http://mail.python.org/mailman/listinfo/pythonce > > -- View this message in context: http://www.nabble.com/Re%3A-PythonCE-Digest%2C-Vol-38%2C-Issue-13-tf2346619.html#a6546214 Sent from the Python - pythonce mailing list archive at Nabble.com. From fredy9 at menta.net Thu Sep 28 15:57:00 2006 From: fredy9 at menta.net (Fredy Cabre) Date: Thu, 28 Sep 2006 15:57:00 +0200 Subject: [PythonCE] make photo Message-ID: Hello group! I am new in python language and I think that is a very interesting language. I need to make a program for a pocket pc that make a photo and when this is maked, capture it and rename , and change the location of this photo. I have read some methods in python's manual, but i don't find the methods or classes to make this scrypt. Anyone know how to do this process or have any example? I agreee any help about this. Thank you. From fredy9 at menta.net Sat Sep 30 12:49:32 2006 From: fredy9 at menta.net (Fredy Cabre) Date: Sat, 30 Sep 2006 12:49:32 +0200 Subject: [PythonCE] getstatusoutput Message-ID: <000001c6e47e$2107cf50$0202fea9@portfredy> Hello group! I want to execute the camera program of my ppc and give me and exception. The code that I make: import commands status,output = commands.getstatusoutput("\Windows\camera.exe") after i put a parameter but gime an error too: import commands status,output = commands.getstatusoutput("\Windows\camera.exe foto") Anyone have an idea for solucione this problem?, thank you -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.python.org/pipermail/pythonce/attachments/20060930/a6299cd1/attachment.htm