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 18.117.153.38 @ scios.ch on Tue May 7 12:23:12 UTC 2024
 
topheader
 

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
Last revision Both sides next revision
py34a_howto [2013/08/05 19:28]
admin created
py34a_howto [2013/08/05 20:00]
admin
Line 4: Line 4:
 \\ \\
 Install the following items: Install the following items:
-  - [[SSHdroid|https://​play.google.com/​store/​apps/​details?​id=berserker.android.apps.sshdroid&​hl=de]] +  - [[https://​play.google.com/​store/​apps/​details?​id=berserker.android.apps.sshdroid&​hl=de|SSHdroid]] 
-  - [[Android Terminal Emulator|https://​play.google.com/​store/​apps/​details?​id=jackpal.androidterm&​hl=de]]+  - [[https://​play.google.com/​store/​apps/​details?​id=jackpal.androidterm&​hl=de|Android Terminal Emulator]] 
 +  - [[http://​code.google.com/​p/​python-for-android/​downloads/​detail?​name=Python3ForAndroid_r6.apk|Python 3 for Android r6 APK]] 
 +\\ \\ 
 +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. 
 + 
 +{{:​screenshot_2013-08-05-21-54-18.jpg?​256x160|How it looks like}} 
 
 
py34a_howto.txt · Last modified: 2013/08/05 20:12 by admin
topheader
© 1998-2022, SciOS Scientific Operating Systems GmbH

Legal | Credits | Profile | Contact | Customer Login