Python programming on Nokia 770
Thursday February 09th 2006, 5:30 am Category: Nokia 770 development
For those thinking of developing apps for Nokia 770, there are several articles posted in developer blogs. Over at WebNinja there’s a simple example of writing a 770 app in Python:
I really like python. I’ve actually been using it quite a bit lately for some projects for clients. I’m not a great python programmer yet, I still have to look things up fairly often. Not like PHP, where I could probably name every function and its arguments from memory. Anyways, I installed PyMaemo onto my 770 and did your basic “Does HelloWorld work?” kind of testing on it and then got down to business.
Teemu Harju is also running an introductory series on Python programming. Coding for Nokia 770 using Python - Part 1 talks about setting up the proper dev environment for simple Python app dev on 770:
In this first part I thought that I’d give instructions how to set up an easy configuration so you can easily code Python on Nokia 770 using your PC and also very easily run your applications on the actual device. I’ll also give an example of a very simple Python application that you can see below. It’s not much, but it is a good start.
In Coding for Nokia 770 using Python - Part 2 there are more PyGTK goodies with an example 180-line app:
I’ll explain here some parts of the example code, that can be seen on the end of this post with lines numbered. First of all lets start with the 1st line, in case someone is wondering what it is. It is there only to tell what application should be executed when this script is run in a shell. So you’ll only have to type “./uitest.py” to start the application from xterm.
For a quick intro to Python, check out Dive into Python.
Well, I haven’t yet got Python running on it, but I couldn’t resist trying to add this comment from my 770!
Comment by steve holden 05.16.06 @ 5:06 pm
RSS feed for comments on this post. TrackBack URI