Python on Android?

Johannes Findeisen mailman at hanez.org
Sun Feb 18 13:06:23 EST 2018


On Sun, 18 Feb 2018 20:29:02 +0300
Kirill Balunov wrote:

> To mention another way to use Python on Android is Termux project
> <https://termux.com/>.  From their site - Termux is an *Android terminal
> emulator and Linux environment app* that works directly with no rooting or
> setup required and Python is a side-effect. There are still some
> restrictions but in general you can install everything you want. I even ran
> Jupyter notebook, but on the phone it is certainly a mockery :)

Wow, that project looks great. But, if I only wanna play around with
Python it seems a little bit oversized. Anyway it seems to become one
of my most used apps on my phone when traveling. I for long time looked
for something like this because the use of the default Android terminal
utilities really is a pain.

Very nice suggestion. Thanks for that!

Another way I used Python on Android was Kivy [0]. But it is very
different because it is made for building GUI applications for Android
using Python. But the nice thing is, that you can package your Python
scripts into a native APK containing an own Python inteerpreter. So,
think of, building a small application where you can bind your Python
code to some buttons and execute it when clicking. Not very useful when
you need the output but very useful when you have some tasks you wanna
execute with just one click... ;)

Johannes

[0] http://kivy.org




More information about the Python-list mailing list