Download

see Releases page, and select an installer: PythonForAndroid-debug.apk .

Description

This is Python built to run on Android devices. It is made to be used together with SL4A (Scripting Layer For Android).

Nearly all the actual non-python specific documentation can be found at android-scripting

For Python specific issues and enhancements only, please use the issues tab.

Instruction for installation

Normal install

Requirements

How to install

  1. Download SL4A Application, such as sl4a-r6.1.1-arm-debug.apk
  2. Download Py4A Application, such as PythonForAndroid-debug.apk
  3. Enable "Unknown Sources" in your device settings.
  4. Open 1. apk to install. (sl4a)
  5. Open 2. apk to install. (py4a)
  6. Open PythonForAndroid application
  7. Click Install to download and install python binaries.
  8. Launch sl4a, Select 'Menu' >> 'View' >> 'Interpreters' and Select 'Python 2.7.?'.
  9. Python will be launched, have fun!

Local install

How to install

  1. Download sl4a apk
  2. Download py4a apk
  3. Download py4a zips, interpreter - python_r26.zip, modules - python_extras_r26.zip, sample scripts - python_scripts_r26.zip.
  4. Enable "Unknown Sources" in your device settings.
  5. Open 1. apk to install. (sl4a)
  6. Open 2. apk to install. (py4a)
  7. Open PythonForAndroid application
  8. push 3. zips to device's /sdcard/com.googlecode.pythonforandroid. (be sure /sdcard path to fit your device.)
  9. Click "Local install" to check zips and install python binaries.
  10. Launch sl4a, Select 'Menu' >> 'View' >> 'Interpreters' and Select 'Python 2.7.?'.
  11. Python will be launched, have fun!