topheader Welcome 54.158.252.131 @ scios.ch on Thu Aug 24 6:47:42 CEST 2017
topheader

Python 3 for Android

Read http://code.google.com/p/python-for-android/wiki/Python3

Install the following items:



Proceed as given by the instructions at http://code.google.com/p/python-for-android/wiki/Python3


Create a start file that calls the py3 interpreter in the terminal emulation:

export EXTERNAL_STORAGE=/mnt/sdcard/com.googlecode.python3forandroid
export PY34A=/data/data/com.googlecode.python3forandroid/files/python3
export PY4A_EXTRAS=$EXTERNAL_STORAGE/extras
export PYTHONPATH=$EXTERNAL_STORAGE/extras/python3:$PY34A/lib/python3.2/lib-dynload
export TEMP=$EXTERNAL_STORAGE/extras/python3/tmp
export HOME=/sdcard
export PYTHON_EGG_CACHE=$TEMP
export PYTHONHOME=$PY34A
export LD_LIBRARY_PATH=$PY34A/lib
$PYTHONHOME/bin/python3 "$@"

Place it somewhere it can be read and executed, e.g. /sdcard. Note that one can ssh/sftp to the Android tablet by SSHdroid, what is quite convenient for development and editing purposes.

How it looks like

 
 
py34a_howto.txt · Last modified: 2013/08/05 22:12 by admin
topheader
© 1998-2017, SciOS Scientific Operating Systems GmbH

Legal | Credits | Profile | Contact | Customer Login