How to work with Python and pyGame on the Nokia n900

To transfer things to, and to run things on the n900:

– To transfer files back and forth to the n900, you can use the old school ssh/scp way, or use a scp browser such as Cyberduck (Mac) or WinScp (Windows).

Just use root@YOURPHONESIPNUM, where YOURPHONESIPNUM is your phone’s ip number.

– To run python scripts on the n900, type “python SCRIPTNAME” where SCRIPTNAME is the name of the python script you would like to run.

It might be more convenient to do command line things, on the n900, from a laptop/desktop, via ssh. To log into the n900, from a different computer, open the terminal window and type “ssh root@YOURPHONESIPNUM”, replacing YOURPHONESIPNUM with your phone’s IP number.

pyGame

An ‘easy’ programming environment to use for prototyping interactive A/V applications on the n900, is pyGame. pyGame and the relevant documentation is here.

This entry was posted in Uncategorized. Bookmark the permalink.