Installing Python on Nokia N73 phone

p1000137

Python for S60(PyS60 for short) is a general port of the Python programming language on the S60 software platform of Symbian OS based mobile phones. It is based on Python 2.2.2 and contains many of the standard library modules of the language, including mobile-platform specific modules such as native GUI elements, Bluetooth, SMS messaging etc.

In this article I’ll explain how I installed PyS6o on my Nokia N73 phone, which runs on Symbian 9.1(3rd Edition) operating system and supports S60 software platform.

So here is the plan:

  • Download necessary files
  • Transfer them to the phone
  • Install PyS60
  • Write a test script and run it.

1. Download necessary files

You need to download two python installers (.sis extension) from Sourceforge.net. The first is the PyS60 interpreter and the second one is the Python Script Shell(i.e. user interface). Here are the links for the files that I downloaded:

PythonForS60_1_4_5_3rdEd.sis
PythonScriptShell_1_4_5_3rdEd.SIS

Notice that the second part of the filename represents the version number(1.4.5) and thrid part represents the edition of the OS(in this case 3rd).

2. Transfer them to the phone

Transfer the downloaded files to the phone by USB cable or Bluetooth or whatever medium that you use.

3. Install PyS60

Go to Menu > Tools > File Manager. Browse to the directory where you have placed the installers and run them. After installation go to Menu > Applications and look for the Python logo that appears on the list.

4. Write a test script and run it

You would notice that a directory name ‘Python’ has been created on the phone file system, depending on whether you have installed PyS60 on the phone memory or on the expandable memory. Write a single line script in your computer:

print "Hello World";

Save it as hello.py and transfer it to the Python directory of your phone. Now launch the Python application. Select Run script from Options, choose hello.py from the list and run it by clicking OK. It will print the message on the console. Alternatively you can run the demo scripts provided in the Python directory.

Update: PyS60 1.9.0 has recently been released(thanks to cb22 for informing me). Download it from here.

Advertisements

16 thoughts on “Installing Python on Nokia N73 phone

  1. Write a single line script in your computer:

    print “Hello World”;

    Save it as hello.py

    HOW CAN I WRITE THIS SCRIPT ??

  2. @msaid:
    Open Notepad. On Windows XP it’s Start -> All Programs -> Accessories -> Notepad.
    Start typing this:

    print “Hello, World!”;

    Stop typing.
    Go to File, then Save As…
    Type “hello.py” with “” INCLUDED, so you don’t just type hello.py because it will end up like hello.py.txt, so we need the quotes!
    Before you click Save, check the current directory (let’s say it’s My Documents). After you click save, you can transfer the file to your phone as stated before.

  3. Hi i have installed python 1.4.6(5) and it run well and all python apply does installed on my memories card thanks to that version. But i still have problem with scriptshell always it missed runtime and i couldn’t installe extra power module too i get update error. Can you give me your expert advice for i can solve that problem in my nokia n73 thanx by advence

  4. This is a very good guid, can understand to anyone and has everything you need with easy, thanks for doing this and keep it up

  5. Pingback: Blog stats 2010 « Glorified Geek

  6. ola é sempre bom ter N73 ! gosto muito do meu chodo so faz feio quando sirma com sertificado mais algo que eu nao sei que ele ta estalando tudo bom isso é muito bom por enquanto nunca mais me enraivou ! abrigado.

  7. hey bro tnx very much!now thers lot of python versions available what versions should i choose to install latests python for my nokia n73me?please help me

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s