Python

From Openmoko

(Difference between revisions)
Jump to: navigation, search
(link mokomenu)
(See also)
Line 23: Line 23:
 
* [[Application Development Crash Course#Adding Python scripts as applications]]
 
* [[Application Development Crash Course#Adding Python scripts as applications]]
 
* [[Wishlist:BuiltInScriptingLanguage]]
 
* [[Wishlist:BuiltInScriptingLanguage]]
 
+
* [[Pexpect]] a pure Python module for spawning child applications
 
[[Category:Developer]]
 
[[Category:Developer]]

Revision as of 10:31, 26 November 2007

Python is a programming language which is applicable to scripting phone functionalities and graphical user interfaces. Currently, at least SettingsGUI, SMSTool and MokoMenu use it. There is also Python ncurses for character user interfaces. Manually using Bluetooth is partially based on using Python.

Environment

Source packages for Python contained in OpenEmbedded include:

python python-pygtk python-pycairo python-pygobject python-dbus

Binary packages for Python are not officially built yet but at least ScaredyCat's repositories provide them:

python-core python-misc python-lang python-subprocess python-threading etc.

Graphical applications need the following binary packages too:

python-pygtk python-pycairo python-pygobject
NOTE: These packages take up a considerable amout of space (several megabytes). Make sure that you have enough free space or install the packages to the media card as explained in package management.


Missing

Parts of the OpenMoko platform are not available in python yet, including gconf and evolution data server. python-openmoko is in the works for gsmd access etc. A recipe for PyWebKitGtk is at OpenEmbedded bug #3028.

See also

Personal tools

Python is a programming language which is applicable to scripting phone functionalities and graphical user interfaces. Currently, at least SettingsGUI, SMSTool and MokoMenu use it. There is also Python ncurses for character user interfaces. Manually using Bluetooth is partially based on using Python.

Environment

Source packages for Python contained in OpenEmbedded include:

python python-pygtk python-pycairo python-pygobject python-dbus

Binary packages for Python are not officially built yet but at least ScaredyCat's repositories provide them:

python-core python-misc python-lang python-subprocess python-threading etc.

Graphical applications need the following binary packages too:

python-pygtk python-pycairo python-pygobject
NOTE: These packages take up a considerable amout of space (several megabytes). Make sure that you have enough free space or install the packages to the media card as explained in package management.


Missing

Parts of the OpenMoko platform are not available in python yet, including gconf and evolution data server. python-openmoko is in the works for gsmd access etc. A recipe for PyWebKitGtk is at OpenEmbedded bug #3028.

See also