Python Interpreter on Android
There's also Python for Android (Py4A), which is intended to work with SL4A. The documentation for Py4A is not as extensive as SL4A, but there are a few examples for Py4A available here.
In addition, there's Kivy, a crossplatform Python-based development framework for Android, PC, Linux, and iOS. I've played around with Kivy a little bit in the past, and while it's very powerful, it's documentation has been lacking, and the code is difficult to decipher.
You can use the termux
app, link to homepage, which is available in the google market and requires no root. It is a terminal emulator with a full Linux environment and via apt install python
you can install python
. apt list
gives you a list of all available packages.
Check out the Scripting Layer 4 Android (sl4a).
There are a number of good Python examples here.