TIP: Python3 on Android (Linux environment + more langs) [Google Play not required] | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 10

TIP: Python3 on Android (Linux environment + more langs) [Google Play not required]

Install Termux from Google Play (or F-Droid if no Google Services), then: $ packages install python ... it installs ... $ python --version Python 3.6.0 Fair comparison: QPython 3: 46.9 MB : Python 3.2.2 (an unfortunate version due to unicode issues). Can be "moved to SD" to save space. Built-in editor + terminal, pip problems. Termux with python: 52.7 MB, cannot be moved to SD. Terminal only. You can install many more packages (ruby, java, perl, php, clang, tmux, editors & etc). Built-in pip.

5th Mar 2017, 1:37 AM
Kirk Schafer
Kirk Schafer - avatar
1 Answer
+ 5
QPython3 is 3.2.2. It had encoding errors using pip (blocking/fatal-can't install), this version of Python is the last one not supporting unicode strings (a big problem), and couldn't compile other modules that needed, e.g., gcc to make QPython3 more useful. The author also hasn't been responding to support requests (on their own site), I ended up answering questions for people there, and there are two code lines (gits) for the same QPython3... with people confused which is master...or how to ask questions on the right one. Note I had similar issues with QPython...it is in better shape, but it's the same devel and Python 2.x. Python's packaging a deployable for mobile apps so 3.x might move up, otherwise... I've been there :) (thank you for the thought)
7th Mar 2017, 6:03 AM
Kirk Schafer
Kirk Schafer - avatar