I managed to get PythonCE installed on my NEC MP900
(HPC2000
)
I have no clue yet about python programming, but after trying some other solutions for programming directly on the device, this seems to be the best way to go.
I tried NSBASIC, PocketC, PerlCE and PocketDOS as well
(paskal for dos
), but for development on the device directly, Python seems to include most things that work.
It also seems to be the easiest way to program since it has its own interpreter for code directly, instead of others where you have to write more complete code for testing.
Anyway, I downloaded the following to make it work.
http://sourceforge.net/project/showfiles.php?group_id=104228&package_id=112011&release_id=261239
the original zip with the files.
http://blogs.unixage.com/blojsom/blog/adam.kruszewski/
from here
( about 1/4 down the page
) I downloaded the full package, and used files from it to supplement the first package. This package is for PocketPC, so the celib.dll from the windows folder needs to be replaced with a HPC version which can be found here :
http://www.rainer-keuchel.de/wince/celib.html
After extracting the first file, I did the following
Since I wanted to put it on my internal disk
(32mb on the nec
) I had to change the shortcuts around a little. the best way to do this is by using the commandline and in the folder where the shortcut is, use the dos editor to modify.
using windows or notepad to edit usualy damages te file.
in the PythonCE2.3.4-StorageCard folder, where you extracted this file at least
) the shortcut in windows\startmenu\programs\idle ce needs to be edited to match your location. Also, since hpc's dont have a start menu folder, this has to be moved to windows\programs\idleCE instead.
in this windows folder, the celib.dll needs to be replaced for the hpc2000 version.
in the python-2.3.4-arm-HPC2000 folder
(the first file extracted
) the setup registry shortcut needs to be editted to reflect your location on your device.
I kept this folder as the main folder for the device.
the windows folder of the other file
(with the modifications of the shortcut and the other celib.dll
) I copied over to my device
(use active sync, since copying to a storage card changes the capitalisation of the characters, and python doesnt like that
)
My current Python Folder has this structure :
\internal disk\Python my installation folder
in this folder I have the following folders :
idleCE
lib
library
tk8.4
these folders, except the lib one come from the pocketpc zipfile.
lib contains the files from the hpc2000 python2.3.4 file, with the modified setup registry file
I'm not sure if it's a complete setup, or if this little manual is complete, but this should get you guys fiddling.
All I can say is that this works, but I have no experience
(yet
) in regards of python.
Since my main interest currently lies with a messenger app for ce and based upon this, I stumbled on PythonCE and PerlCE.
they both have messenger scripts that allow communication with the msn network using the latest protocol, however, importing these scripts didnt work for me. It seems to crash the apps, so most likely these scripts need to be modified.
However, this might be of some use for someone who wants to program stuff on his device.