05.24.07

Perl, Tcl/Tk, MortScript… now Python

Posted in WM PDA Phone at 2:07 pm by emerym

Thanks to a blog comment from Wei Li I’ve started to look into the Python scripting language. I’ve got Python on my Linux hosts, but wanted it on the TyTN too so I can experiment with it wherever.

Thanks to PythonCE I can now do this. Venster, or in this case
VensterCE adds a Windows GUI layer. VensterCE also comes with an IDE with built in console for writing and testing Python apps. Python 2.5 docs here.

If you want to try them out note that config.py and pyceide.py will probably need editing. Config.py has “EDITOR_FONT_SIZE = 5″ which makes the Python script way too small to read. Pyceide.py has the line “self.nbfont = Font(face=”Tahoma”,height=25)” which makes the icons at the bottom way too big! I changed 5 to 10 and 25 to 14.

1 Comment »

  1. Alexandre Delattre said,

    June 13, 2007 at 5:45 pm

    Hello,
    thanks for using VensterCE with PythonCE.
    The font size specification is the main problem with PyCeIDE, this is is because I have developped it on a Hi-res device. The next release will include an hires and lowres version.

Leave a Comment