On Sun, 18 Feb 2018 20:57:02 +1100 Chris Angelico wrote: > Does anyone have experience with running Python scripts on Android > phones? I have a brother (honestly! I'm not actually using a phone > myself!) who's trying to run one of my scripts in QPython, which > claims to be version 3.2.2. I think that really truly is a Python 3.2 > implementation - probing for newer features suggests that it actually > doesn't even support the u"..." syntax that came (back) in with Python > 3.3. So... does anyone know of a Python interpreter that's compatible > with 3.4 or better and runs on Android? >
There is an App for Android called "Pydroid 3". You can find it in the Google Play Store [0]. It provides a Python interpreter in version 3.6.2 in its current release. The Python binary is installed under /data/user/0/ru.iiec.pydroid3/files/arm-linux-androideabi/bin/python but I can not access it in a normal terminal without being user "root" but it is usable from within the terminal included in the Pydroid App. I do only execute some basic Python stuff for fun and learning when traveling but that should work as you can open and save your code from the integrated editor. Johannes [0] https://play.google.com/store/apps/details?id=ru.iiec.pydroid3 -- https://mail.python.org/mailman/listinfo/python-list