Deprecated: Array and string offset access syntax with curly braces is deprecated in /srv/www/vhosts/scios.ch/httpdocs/inet/inc/init.php on line 557

Warning: Declaration of action_plugin_captcha::register(&$controller) should be compatible with DokuWiki_Action_Plugin::register(Doku_Event_Handler $controller) in /srv/www/vhosts/scios.ch/httpdocs/inet/lib/plugins/captcha/action.php on line 20
py34a_howto [SciOS::Home]
topheader Welcome 3.237.235.148 @ scios.ch on Fri Mar 29 12:44:34 UTC 2024
 
topheader
 

This is an old revision of the document!



Warning: Declaration of syntax_plugin_bureaucracy::handle($match, $state, $pos, &$handler) should be compatible with DokuWiki_Syntax_Plugin::handle($match, $state, $pos, Doku_Handler $handler) in /srv/www/vhosts/scios.ch/httpdocs/inet/lib/plugins/bureaucracy/syntax.php on line 86

Warning: Declaration of syntax_plugin_bureaucracy::render($format, &$R, $data) should be compatible with DokuWiki_Syntax_Plugin::render($format, Doku_Renderer $renderer, $data) in /srv/www/vhosts/scios.ch/httpdocs/inet/lib/plugins/bureaucracy/syntax.php on line 177

Warning: Declaration of syntax_plugin_math::handle($match, $state, $pos, &$handler) should be compatible with DokuWiki_Syntax_Plugin::handle($match, $state, $pos, Doku_Handler $handler) in /srv/www/vhosts/scios.ch/httpdocs/inet/lib/plugins/math/syntax.php on line 105

Warning: Declaration of syntax_plugin_math::render($mode, &$renderer, $data) should be compatible with DokuWiki_Syntax_Plugin::render($format, Doku_Renderer $renderer, $data) in /srv/www/vhosts/scios.ch/httpdocs/inet/lib/plugins/math/syntax.php on line 129

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 developing and editing purposes.

How it looks like

 
 
py34a_howto.1375732811.txt.gz · Last modified: 2013/08/05 20:00 by admin
topheader
© 1998-2022, SciOS Scientific Operating Systems GmbH

Legal | Credits | Profile | Contact | Customer Login