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!
<br><br><div><span class="gmail_quote">On 9/27/06, <b class="gmail_sendername"><a href="mailto:pythonce-request@python.org">pythonce-request@python.org</a></b> <<a href="mailto:pythonce-request@python.org">pythonce-request@python.org
</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Send PythonCE mailing list submissions to<br> <a href="mailto:pythonce@python.org">
pythonce@python.org</a><br><br>To subscribe or unsubscribe via the World Wide Web, visit<br> <a href="http://mail.python.org/mailman/listinfo/pythonce">http://mail.python.org/mailman/listinfo/pythonce</a><br>or, via email, send a message with subject or body 'help' to
<br> <a href="mailto:pythonce-request@python.org">pythonce-request@python.org</a><br><br>You can reach the person managing the list at<br> <a href="mailto:pythonce-owner@python.org">pythonce-owner@python.org
</a><br><br>When replying, please edit your Subject line so it is more specific<br>than "Re: Contents of PythonCE digest..."<br><br><br>Today's Topics:<br><br> 1. Re: wxPython for PythonCE announcement (Bandung)
<br> 2. Re: wxPython for PythonCE announcement (Bandung)<br> 3. Re: Trying to Code Python ON a Pocket PC Phone (Bandung)<br> 4. Re: Trying to Code Python ON a Pocket PC Phone (Bandung)<br> 5. Re: Trying to Code Python ON a Pocket PC Phone (Bandung)
<br><br><br>----------------------------------------------------------------------<br><br>Message: 1<br>Date: Tue, 26 Sep 2006 07:32:40 -0700 (PDT)<br>From: Bandung <<a href="mailto:bandung@skyesystems.com">bandung@skyesystems.com
</a>><br>Subject: Re: [PythonCE] wxPython for PythonCE announcement<br>To: <a href="mailto:pythonce@python.org">pythonce@python.org</a><br>Message-ID: <<a href="mailto:6508125.post@talk.nabble.com">6508125.post@talk.nabble.com
</a>><br>Content-Type: text/plain; charset=us-ascii<br><br><br>I don't think that the problem has anything to do with the machine being "out<br>of memory".<br><br>I think the problem lies with the default paths that seemed to be hard wired
<br>into the binary packages. For example, the error message refers to line 4<br>within the _misc.py file within a directory tree that commences with \CF<br>Card\Program Files\Python24\lib\wx\_.misc.py and so on. Well I don't have
<br>a CF Card on my pda.<br><br>I then placed my Python24 installation along with all of the wx files within<br>the main storage area rather than on my mini SD card. So now wxpythonce<br>should be found under \Program Files\Python24\lib\wx rather than \Storage
<br>Card\Program Files\Python24\lib\wx.<br><br>Guess what, even though Python launches from its new home, wxPythonce still<br>thinks everything is under \CF Card\Program Files\Python24\lib\wx<br><br>Apart from recompiling everything, there doesn't seem to be any way to
<br>change this behaviour since all of the python wrappers within the binary<br>distribution are *.pyc files rather than *.py<br><br>My guess is that those of us who do not have a "CF Card" storage designation<br>
on our pda's are "sol" on this release. I would love to be able to<br>recompile this on my own in order to test this theory but not being a<br>"computer man" I have not been able to compile anything that is windoz
<br>related. But point me to a "make" file on a linux machine and with deep<br>gratitude to the maintainers of Linux relkated programs, I'm in my element.<br><br>If someone could walk me through it, I have a Visual Studio 2005 Standard
<br>installation along with the windows movile 5.0 sdk package on my windoze<br>machine. Perhaps we can resolve this mis behaviour.<br><br><br><br>George-64 wrote:<br>><br>> jeffbarish wrote:<br>>> Did you ever resolve this issue? When I installed wxPython on a first
<br>>> PDA,<br>>> it worked fine right away. However, I just installed it on a second one<br>>> of<br>>> the exact same model (Dell Axim X51v) with the exact same memory<br>>> complement<br>
>> and have encountered the same problem you reported.<br>><br>> I'm also getting the same problem running on a hw6915 with running<br>> Windows Mobile 5 and with about 25 megs free.<br>><br>> <a href="http://mail.python.org/pipermail/pythonce/2005-July/001100.html">
http://mail.python.org/pipermail/pythonce/2005-July/001100.html</a><br>><br>> is about all I could find on the what's going on.<br>><br>> George<br>> _______________________________________________<br>> PythonCE mailing list
<br>> <a href="mailto:PythonCE@python.org">PythonCE@python.org</a><br>> <a href="http://mail.python.org/mailman/listinfo/pythonce">http://mail.python.org/mailman/listinfo/pythonce</a><br>><br>><br><br>--<br>View this message in context:
<a href="http://www.nabble.com/wxPython-for-PythonCE-announcement-tf2024801.html#a6508125">http://www.nabble.com/wxPython-for-PythonCE-announcement-tf2024801.html#a6508125</a><br>Sent from the Python - pythonce mailing list archive at
<a href="http://Nabble.com">Nabble.com</a>.<br><br><br><br>------------------------------<br><br>Message: 2<br>Date: Tue, 26 Sep 2006 07:32:40 -0700 (PDT)<br>From: Bandung <<a href="mailto:bandung@skyesystems.com">bandung@skyesystems.com
</a>><br>Subject: Re: [PythonCE] wxPython for PythonCE announcement<br>To: <a href="mailto:pythonce@python.org">pythonce@python.org</a><br>Message-ID: <<a href="mailto:6508125.post@talk.nabble.com">6508125.post@talk.nabble.com
</a>><br>Content-Type: text/plain; charset=us-ascii<br><br><br>I don't think that the problem has anything to do with the machine being "out<br>of memory".<br><br>I think the problem lies with the default paths that seemed to be hard wired
<br>into the binary packages. For example, the error message refers to line 4<br>within the _misc.py file within a directory tree that commences with \CF<br>Card\Program Files\Python24\lib\wx\_.misc.py and so on. Well I don't have
<br>a CF Card on my pda.<br><br>I then placed my Python24 installation along with all of the wx files within<br>the main storage area rather than on my mini SD card. So now wxpythonce<br>should be found under \Program Files\Python24\lib\wx rather than \Storage
<br>Card\Program Files\Python24\lib\wx.<br><br>Guess what, even though Python launches from its new home, wxPythonce still<br>thinks everything is under \CF Card\Program Files\Python24\lib\wx<br><br>Apart from recompiling everything, there doesn't seem to be any way to
<br>change this behaviour since all of the python wrappers within the binary<br>distribution are *.pyc files rather than *.py<br><br>My guess is that those of us who do not have a "CF Card" storage designation<br>
on our pda's are "sol" on this release. I would love to be able to<br>recompile this on my own in order to test this theory but not being a<br>"computer man" I have not been able to compile anything that is windoz
<br>related. But point me to a "make" file on a linux machine and with deep<br>gratitude to the maintainers of Linux related programs, I'm in my element.<br><br>If someone could walk me through it, I have a Visual Studio 2005 Standard
<br>installation along with the windows movile 5.0 sdk package on my windoze<br>machine. Perhaps we can resolve this mis behaviour.<br><br><br><br>George-64 wrote:<br>><br>> jeffbarish wrote:<br>>> Did you ever resolve this issue? When I installed wxPython on a first
<br>>> PDA,<br>>> it worked fine right away. However, I just installed it on a second one<br>>> of<br>>> the exact same model (Dell Axim X51v) with the exact same memory<br>>> complement<br>
>> and have encountered the same problem you reported.<br>><br>> I'm also getting the same problem running on a hw6915 with running<br>> Windows Mobile 5 and with about 25 megs free.<br>><br>> <a href="http://mail.python.org/pipermail/pythonce/2005-July/001100.html">
http://mail.python.org/pipermail/pythonce/2005-July/001100.html</a><br>><br>> is about all I could find on the what's going on.<br>><br>> George<br>> _______________________________________________<br>> PythonCE mailing list
<br>> <a href="mailto:PythonCE@python.org">PythonCE@python.org</a><br>> <a href="http://mail.python.org/mailman/listinfo/pythonce">http://mail.python.org/mailman/listinfo/pythonce</a><br>><br>><br><br>--<br>View this message in context:
<a href="http://www.nabble.com/wxPython-for-PythonCE-announcement-tf2024801.html#a6508125">http://www.nabble.com/wxPython-for-PythonCE-announcement-tf2024801.html#a6508125</a><br>Sent from the Python - pythonce mailing list archive at
<a href="http://Nabble.com">Nabble.com</a>.<br><br><br><br>------------------------------<br><br>Message: 3<br>Date: Tue, 26 Sep 2006 08:00:06 -0700 (PDT)<br>From: Bandung <<a href="mailto:bandung@skyesystems.com">bandung@skyesystems.com
</a>><br>Subject: Re: [PythonCE] Trying to Code Python ON a Pocket PC Phone<br>To: <a href="mailto:pythonce@python.org">pythonce@python.org</a><br>Message-ID: <<a href="mailto:6508667.post@talk.nabble.com">6508667.post@talk.nabble.com
</a>><br>Content-Type: text/plain; charset=us-ascii<br><br><br>The only way that I know how to "edit" a *.py file rather than execute it is<br>to change the registry entry that *.py point to in your registry. Normally
<br>.py calls the "pyfile" entry and it is within pyfile where one types the<br>command to launch python24.exe. I simply point *.py to my Vim Open Start<br>command which is within the registry entry "vimfile" and Vim launches
<br>instead. If you use "idle" as your editor, I suppose you could get it to do<br>the same thing. If you are not familiar with modifying your registry to do<br>this, don't worry. There are utilities that can do this for you.
<br><br>Now by doing this, you realize that you can no longer execute *.py files<br>when you double click on them if you have a windows mobile 5.0 device.<br>Since there is no console for Windows mobile 5.0, there is no way to launch
<br>a *.py without double clicking on it. If you have a windows mobile 2003,<br>then you can download a console programme that will permit you to launch<br>your *.py files from a dos like command line.<br><br>So why do this personally? Well its only when I am doing a lot of editiing
<br>and I get weary of launching Vim and then opening up the appropriate *.py<br>file. Without this trick, its a lot of keystrokes to open up a *.py file<br>via Vim because Vim always starts its file open search in the default
<br>directory within main storage and all of my files are buried deep down a<br>directory tree on my Storage Card.<br><br>I can shell out of Vim on my desktop to run programmes that I am editing<br>within Vim without exiting Vim. I haven't tried that on my pda because
<br>windows mobile 5.0 doesn't have a console so I naturally assume that I'm<br>screwed. Because in most cases, I am screwed on Windows Mobile 5.0 I can't<br>get things like OpenSSH working because this version of mobile windoze lacks
<br>this console. Plus there are many other terrible side effects to this<br>missing console feature such as not having any raw_inout" capabilities from<br>my python24ce interpreter.<br><br>Sigh ....<br><br><br>David P. Gil wrote:
<br>><br>> I copied some files for a basic Python project im working onto my PDA<br>> Phone<br>> to work on and install PythonCE on it. In a previous reply, someone told<br>> me<br>> to just double tap my python files and it should allow me to edit them.
<br>> Apparently when I do this, the script is run instead. I don't want to use<br>> interactive mode I want the script mode so I can write and edit bigger<br>> python programs. Does anyone know how I can do this?
<br>><br>> Sorry if this seems like too basic of a question. Have sympathy, I am an<br>> artist working in the game industry taking interest in the wacky work of<br>> programming. Thanks in advance for any help you can provide.
<br>><br>> _______________________________________________<br>> PythonCE mailing list<br>> <a href="mailto:PythonCE@python.org">PythonCE@python.org</a><br>> <a href="http://mail.python.org/mailman/listinfo/pythonce">
http://mail.python.org/mailman/listinfo/pythonce</a><br>><br>><br><br>--<br>View this message in context: <a href="http://www.nabble.com/Trying-to-Code-Python-ON-a-Pocket-PC-Phone-tf2293883.html#a6508667">http://www.nabble.com/Trying-to-Code-Python-ON-a-Pocket-PC-Phone-tf2293883.html#a6508667
</a><br>Sent from the Python - pythonce mailing list archive at <a href="http://Nabble.com">Nabble.com</a>.<br><br><br><br>------------------------------<br><br>Message: 4<br>Date: Tue, 26 Sep 2006 08:00:06 -0700 (PDT)<br>
From: Bandung <<a href="mailto:bandung@skyesystems.com">bandung@skyesystems.com</a>><br>Subject: Re: [PythonCE] Trying to Code Python ON a Pocket PC Phone<br>To: <a href="mailto:pythonce@python.org">pythonce@python.org
</a><br>Message-ID: <<a href="mailto:6508667.post@talk.nabble.com">6508667.post@talk.nabble.com</a>><br>Content-Type: text/plain; charset=us-ascii<br><br><br>The only way that I know how to "edit" a *.py file rather than execute it is
<br>to change the registry entry that *.py points to in your registry. Normally<br>.py calls the "pyfile" entry and it is within pyfile where one types the<br>command to launch python24.exe. I simply point *.py to my Vim Open Start
<br>command which is within the registry entry "vimfile" and Vim launches<br>instead. If you use "idle" as your editor, I suppose you could get it to do<br>the same thing. If you are not familiar with modifying your registry to do
<br>this, don't worry. There are utilities that can do this for you.<br><br>Now by doing this, you realize that you can no longer execute *.py files<br>when you double click on them if you have a windows mobile 5.0 device.
<br>Since there is no console for Windows mobile 5.0, there is no way to launch<br>a *.py without double clicking on it. If you have a windows mobile 2003,<br>then you can download a console programme that will permit you to launch
<br>your *.py files from a dos like command line.<br><br>So why do this personally? Well its only when I am doing a lot of editiing<br>and I get weary of launching Vim and then opening up the appropriate *.py<br>file. Without this trick, its a lot of keystrokes to open up a *.py file
<br>via Vim because Vim always starts its file open search in the default<br>directory within main storage and all of my files are buried deep down a<br>directory tree on my Storage Card.<br><br>I can shell out of Vim on my desktop to run programmes that I am editing
<br>within Vim without exiting Vim. I haven't tried that on my pda because<br>windows mobile 5.0 doesn't have a console so I naturally assume that I'm<br>screwed. Because in most cases, I am screwed on Windows Mobile 5.0
I can't<br>get things like OpenSSH working because this version of mobile windoze lacks<br>this console. Plus there are many other terrible side effects to this<br>missing console feature such as not having any raw_inout" capabilities from
<br>my python24ce interpreter.<br><br>Sigh ....<br><br><br>David P. Gil wrote:<br>><br>> I copied some files for a basic Python project im working onto my PDA<br>> Phone<br>> to work on and install PythonCE on it. In a previous reply, someone told
<br>> me<br>> to just double tap my python files and it should allow me to edit them.<br>> Apparently when I do this, the script is run instead. I don't want to use<br>> interactive mode I want the script mode so I can write and edit bigger
<br>> python programs. Does anyone know how I can do this?<br>><br>> Sorry if this seems like too basic of a question. Have sympathy, I am an<br>> artist working in the game industry taking interest in the wacky work of
<br>> programming. Thanks in advance for any help you can provide.<br>><br>> _______________________________________________<br>> PythonCE mailing list<br>> <a href="mailto:PythonCE@python.org">PythonCE@python.org
</a><br>> <a href="http://mail.python.org/mailman/listinfo/pythonce">http://mail.python.org/mailman/listinfo/pythonce</a><br>><br>><br><br>--<br>View this message in context: <a href="http://www.nabble.com/Trying-to-Code-Python-ON-a-Pocket-PC-Phone-tf2293883.html#a6508667">
http://www.nabble.com/Trying-to-Code-Python-ON-a-Pocket-PC-Phone-tf2293883.html#a6508667</a><br>Sent from the Python - pythonce mailing list archive at <a href="http://Nabble.com">Nabble.com</a>.<br><br><br><br>------------------------------
<br><br>Message: 5<br>Date: Tue, 26 Sep 2006 11:35:54 -0700 (PDT)<br>From: Bandung <<a href="mailto:bandung@skyesystems.com">bandung@skyesystems.com</a>><br>Subject: Re: [PythonCE] Trying to Code Python ON a Pocket PC Phone
<br>To: <a href="mailto:pythonce@python.org">pythonce@python.org</a><br>Message-ID: <<a href="mailto:6512966.post@talk.nabble.com">6512966.post@talk.nabble.com</a>><br>Content-Type: text/plain; charset=us-ascii<br><br>
<br>I've come across a nice little plugin for Vim that permits me to run/execute<br>a python script from within Vim. It works like a charm on my Windows<br>desktop as well as Linux desktop. Its called<br><a href="http://www.petersblog.org/node/461">
http://www.petersblog.org/node/461</a> runscript.vim The script makes use of<br>function keys F9, F11 and F12. The lack of these hardware keys on my pda<br>doesn't bother me since I can substitue other key combinations using the
<br>appropriate entries within my _vimrc file. What's nice about this plugin is<br>that it will even launch my python scripts that have gui interfaces. The<br>trick is to get it working on my pda.<br><br>What is also potentially nice about this plugin is that if I can get it
<br>working, I can use Vim as a sort of windows mobile 5.0 console. Then I can<br>edit files within Vim and by typing :!start python %s .... as an example,<br>get that script to run on my pda. Being ever suspicious of mobile windoze,
<br>before transferring this script to my pda, I wanted to see if I could launch<br>programs from within Vim using the :!start command.<br><br>Much to my surprise, I can launch embedded mobile apps such as Word (aka<br>pword). I just type :!start pword and by gosh, up pops pocket word. I
<br>haven't been able to get python.exe to launch since it is located inside my<br>Storage Card and the :!start command just doesn't see that directory. I<br>wish there was a "path" equivalent for Windows mobile so that I could put
<br>\Storage Card\Program Files\Python24 in the path statement and just type<br>:!start python.exe<br><br>Anyways, I will keep plugging away at this. I found another script that<br>will permit me to put breakpoints within the python code being edited within
<br>Vim so that I can debug it. The plugin calls python's built in debugger and<br>executes the script being edited by Vim within this debugger. I don't know<br>yet whether or not this debugger is part of the pythonce build.
<br><br><br><br><br><br>Bandung wrote:<br>><br>> The only way that I know how to "edit" a *.py file rather than execute it<br>> is to change the registry entry that *.py points to in your registry.<br>> Normally .py calls the "pyfile" entry and it is within pyfile where one
<br>> types the command to launch python24.exe. I simply point *.py to my Vim<br>> Open Start command which is within the registry entry "vimfile" and Vim<br>> launches instead. If you use "idle" as your editor, I suppose you could
<br>> get it to do the same thing. If you are not familiar with modifying your<br>> registry to do this, don't worry. There are utilities that can do this<br>> for you.<br>><br>> Now by doing this, you realize that you can no longer execute *.py files
<br>> when you double click on them if you have a windows mobile 5.0 device.<br>> Since there is no console for Windows mobile 5.0, there is no way to<br>> launch a *.py without double clicking on it. If you have a windows mobile
<br>> 2003, then you can download a console programme that will permit you to<br>> launch your *.py files from a dos like command line.<br>><br>> So why do this personally? Well its only when I am doing a lot of
<br>> editiing and I get weary of launching Vim and then opening up the<br>> appropriate *.py file. Without this trick, its a lot of keystrokes to<br>> open up a *.py file via Vim because Vim always starts its file open search
<br>> in the default directory within main storage and all of my files are<br>> buried deep down a directory tree on my Storage Card.<br>><br>> I can shell out of Vim on my desktop to run programmes that I am editing
<br>> within Vim without exiting Vim. I haven't tried that on my pda because<br>> windows mobile 5.0 doesn't have a console so I naturally assume that I'm<br>> screwed. Because in most cases, I am screwed on Windows Mobile
5.0 I<br>> can't get things like OpenSSH working because this version of mobile<br>> windoze lacks this console. Plus there are many other terrible side<br>> effects to this missing console feature such as not having any raw_inout"
<br>> capabilities from my python24ce interpreter.<br>><br>> Sigh ....<br>><br>><br>> David P. Gil wrote:<br>>><br>>> I copied some files for a basic Python project im working onto my PDA<br>
>> Phone<br>>> to work on and install PythonCE on it. In a previous reply, someone told<br>>> me<br>>> to just double tap my python files and it should allow me to edit them.<br>>> Apparently when I do this, the script is run instead. I don't want to use
<br>>> interactive mode I want the script mode so I can write and edit bigger<br>>> python programs. Does anyone know how I can do this?<br>>><br>>> Sorry if this seems like too basic of a question. Have sympathy, I am an
<br>>> artist working in the game industry taking interest in the wacky work of<br>>> programming. Thanks in advance for any help you can provide.<br>>><br>>> _______________________________________________
<br>>> PythonCE mailing list<br>>> <a href="mailto:PythonCE@python.org">PythonCE@python.org</a><br>>> <a href="http://mail.python.org/mailman/listinfo/pythonce">http://mail.python.org/mailman/listinfo/pythonce
</a><br>>><br>>><br>><br>><br><br>--<br>View this message in context: <a href="http://www.nabble.com/Trying-to-Code-Python-ON-a-Pocket-PC-Phone-tf2293883.html#a6512966">http://www.nabble.com/Trying-to-Code-Python-ON-a-Pocket-PC-Phone-tf2293883.html#a6512966
</a><br>Sent from the Python - pythonce mailing list archive at <a href="http://Nabble.com">Nabble.com</a>.<br><br><br><br>------------------------------<br><br>_______________________________________________<br>PythonCE mailing list
<br><a href="mailto:PythonCE@python.org">PythonCE@python.org</a><br><a href="http://mail.python.org/mailman/listinfo/pythonce">http://mail.python.org/mailman/listinfo/pythonce</a><br><br><br>End of PythonCE Digest, Vol 38, Issue 13
<br>****************************************<br></blockquote></div><br>