Python Setup Notes: Difference between revisions

From Mobile Application Design
Jump to navigationJump to search
Line 4: Line 4:


=== Installation ===
=== Installation ===
[http://wiki.opensource.nokia.com/projects/Installing_PyS60 Installing PyS60] |  
[http://wiki.opensource.nokia.com/projects/Installing_PyS60 Installing PyS60] | [http://sourceforge.net/project/showfiles.php?group_id=154155 Download page]


[http://sourceforge.net/project/showfiles.php?group_id=154155&package_id=171153&release_id=462564 Download page]
Since we are using the N80 and N95 phones provided by Nokia which are Series 60 3rd Edition devices - we'll need to download the following files:


Since we are using the lovely N80 phones provided by Nokia - we'll need to download the following files:
* Python
* Python Script Shell
* Documentation


*[http://downloads.sourceforge.net/pys60/PythonForS60_1_3_13_SDK_3rdEd_selfsigned.zip?modtime=1163177758&big_mirror=0 PythonForS60_1_3_13_SDK_3rdEd for Series60 3rd Edition] phones like N80, N91, N93.
Bluetooth the first two to your N80 / N95 and install them ahead of time.
*[http://downloads.sourceforge.net/pys60/pythonscriptshell_1_3_13_3rded_selfsigned.SIS?modtime=1163177763&big_mirror=0 PythonScriptShell_1_3_13_3rdEd]
*[http://downloads.sourceforge.net/pys60/PythonForS60_doc_1_3_13.pdf?modtime=1163177758&big_mirror=0 API Documentation]
 
Bluetooth these to your N80 and install them ahead of time.


=== Reference ===
=== Reference ===

Revision as of 20:20, 1 November 2007

Python for S60

Python Home Page Python for S60 is Nokia's port of the Python language to the S60 smartphone platform. In addition to the standard features of the Python language, PyS60 provides access to many of the phone's uniquely smartphone-y functions, such as camera, contacts, calendar, audio recording and playing, TCP/IP and Bluetooth communications and simple telephony.

Installation

Installing PyS60 | Download page

Since we are using the N80 and N95 phones provided by Nokia which are Series 60 3rd Edition devices - we'll need to download the following files:

  • Python
  • Python Script Shell
  • Documentation

Bluetooth the first two to your N80 / N95 and install them ahead of time.

Reference

Jurgen Scheible's Tutorial Site

Python Library Reference

Guido Van Rossum's Python Tutorial

Editors

PyDev (for Eclipse

Useful Tools

Miso - a utility library Kari Pulli's Python page

Simple Programs

Hello Python

import appuifw

appuifw.note(u"Well hello Python for Series60, you look nice... ", "info")

Exercises

  1. Rewrite the Zombie Detector from Week 2 in Python.
  2. Create a script which reads in a string and then sends it an SMS to your neighbour