Join Now

This page was last modified 10:06, 9 May 2008.

Category:Python

From Forum Nokia Wiki

This page lists the range of articles currently marked with the Python category.

Contents

Recently Edited and Most Viewed Python Articles

Recently Edited:

 

Most Viewed:

Overview

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.

Other that Python for S60 there are three more or less advanced Python versions for UIQ:

A very old version for UIQ based on Python 2.3.3 The console version already builds for other devices, including S90, S80 and S60 fisrt edition.

This is Python for UIQ 2.1 and UIQ 3 v0.1 (hereafter PyUIQ). This preliminary port is based on Python for S60 (hereafter PyS60) port created by Nokia Corporation which is based on Python 2.2.2.

It's Python over PersonalJava.

Python S60 is open source, under Apache 2 and Python licenses. You can download the source for the latest release from SourceForge.

Latest News

  • 21 January 2008 : Python for S60 1.4.2 FINAL has been released !
    • NEW : phone's log module has been added : SMS , received calls etc.
    • bug fix : wrong time returned for inbox messages
    • bug fix : positioning.select_module() crashes python
    • bug fix : calendar find_instances fails for long searchstrings
    • bug fix : e32.ao_callgate(not_a_callable) fails to set an exce
    • bug fix : Code in appuifwmodule.cpp prevents use of SVG icons
    • bug fix : Incomplete Documentation for 1.4.1 Video APIs
    • bug fix : Missing 00000000.rss file in template dir
    • bug fix : import telephone causes an error
    • bug fix : e32db format_time broken in some localisations
    • bug fix : ViewSrv 9 panic while exiting previously backgrounde
    • bug fix : start_server does not report error for unknown file
    • bug fix : Incomplete documentation for Contact object
    • bug fix : Adding Icon with out-of-range index to Listbox

Installation

See Installing PyS60. Which package to get, how to push scripts to the phone, using the emulator, using the Bluetooth console etc.

Applications

See Python S60 applications. Also, grabbing the package source is useful, as there are some interesting sample application embedded in the source tree. If you are a novice trying to figure out how to write your first program on a mobile phone then click novice How To.

Creating Standalone Applications

Python has all the advantages of an interpreted language, but you can create standalone applications for the S60 platform. Here are some links.

Documentation

See Python S60 documentation.

Extension modules

Python for S60 support most of the standard Python 2.2 modules (not all provided with python S60 !). These modules and some others (changed to adapt them to particulalities of Python for S60) are written in pure python code ...

for a list of adapted python module that are available see: python S60 modules.

Python for S60 supports the Python/C API so you can create your own dynamically loadable extension modules (.PYD's) to extend the functionality of the interpreter. See How to create PyS60 extension modules.

A list of native extension modules are available:

Compiling PyS60

So you want to "roll your own" PyS60 interpreter from source? Check out Compiling Python S60.

Getting help

The Python for S60 discussion board at Forum Nokia is THE place for chatting about Python for S60 related matters. The archives of the board may already contain the answer you are looking for. Try the search function before asking and you may save lots of time.

For more informal discussions, try the Python S60 IRC channel. look documentation ?

Tutorials & Books

Tutorials



  • A description with examples of the most basic Python and PyS60 features, for beginners: Basic Python Elements


Books

  • "Dive into Python" is an excellent free book about Python programming. Available in different languages (English, Italian, French, Spanish, Chinese, Korean, Russian) and formats, it also includes source codes!



Code Examples for Python

Known Issues for Python

Tips & Tricks for Python

Video Demo reels

  • Comments by people who use PyS60 (length: 4 min.)

(*.AVI 115 MB) (Flash 8) (*.MOV) 255 MB

  • See what Art & Design Students do with PyS60 (length 15min.)

(*.AVI 184 MB) (Flash 8) (*.MOV) 255 MB

  • See what technical Students do with PyS60 (length 12min.)

(*.AVI 115 MB) (Flash 8) (*.MOV 145 MB)


(previous 200) (next 200)

Articles in category "Python"

There are 175 articles in this category.

A

B

C

D

E

F

G

H

H cont.

H cont.

I

L

M

N

P

S

T

Media in category "Python"

There are 25 files in this category.

(previous 200) (next 200)
 
Powered by MediaWiki