Saturday 1 September 2007

Python and phones II

For writing Python Scripts for your phone you need to write the script in a text editor. Useful editors are Pywin or ConTEXT, but also notepad works. To learn how to download and install Python editors on your PC see

  1. Python .
  2. DiveIntoPython and its first chapter
  3. An illustrative article to install Python in here
After installing Python and writing the script you need to save it as *.py. The final stage is testing the code, which I found this link very helpful.

Python and phones I

If your phone is Nokia S60 series then you can simply implement simple applications on your phone using script based programming language, call Python. To start you need to download

1) PythonForS60_1_3_23_3rdEd_selfsigned.SIS

2) PythonScriptShell_1_3_23_3rdEd_selfsigned.SIS

from SourceForge (or their latest edition) to your PC. Then connect your phone either via Nokia PC suite or via Bluetooth to your PC or laptop and transfer these two files to the phone and run these files from the phone. Just make sure you install PythonForS60 before PythonScriptShell. For more information about PyS60 see PyS60 wiki.

A helpful link to learn how to uninstall PyS60 or upgrade it can be found here. Or you can simply join Nokia forum.