[PythonCE] How to edit python files within WinCE env?

Luke Dunstan coder_infidel at hotmail.com
Wed Nov 8 15:10:12 CET 2006


----- Original Message ----- 
From: "Benjamin Scherrey" <scherrey at proteus-tech.com>
To: <pythonce at python.org>
Sent: Wednesday, November 08, 2006 12:53 PM
Subject: [PythonCE] How to edit python files within WinCE env?


> I'm brand spanking new to this mobile stuff so was pleased with how easy
> it was to install pythonce on my new Dopod 818pro. I copied over a few
> sample python programs from my development directory and they just
> worked first time. Anyway - couple of newbie questions:
>
>    1. (bit off topic) Does Windows Mobile not have the concept of a
> file extension? I copied a few *.py and *.pyc files but I can only see
> the primary file name before the "." which means in the file listing it
> looks like the same file twice.
>
>    2. How do I edit a python file within the environment? Clicking on
> any of my copied programs results in its execution and I can't seem to
> load them in an editor.

As another person already mentioned: Total Commander.

>
>    3. When typing at the command prompt for a multi-line statement like
>    for x in y:<cr>
>        print x
>       At the point of the <cr> pythonce complains as though that was
> the end of my statement and doesn't let me enter the indented second line.

This bug was reported a little while ago and I posted a Python script that 
works around it. It will be fixed in the next release.

>    4. Is there an up-to-date wiki or support web page for pythonce? I
> found an old wiki but it doesn't seem to have been updated for a few 
> years.

Yes there is a wiki at http://pythonce.sourceforge.net/Wikka/HomePage.

Luke

>    Thanx all for the great product port (I actually ran 2.5 on my Dopod
> before I got it on my dev machines) and I look forward to doing some
> serious python mobile development soon.
>
>    -- Ben Scherrey



More information about the PythonCE mailing list