Python Forum
Where is usually located the python interpreter on android devices? - Printable Version

+- Python Forum (https://python-forum.io)
+-- Forum: Python Coding (https://python-forum.io/forum-7.html)
+--- Forum: General Coding Help (https://python-forum.io/forum-8.html)
+--- Thread: Where is usually located the python interpreter on android devices? (/thread-19519.html)



Where is usually located the python interpreter on android devices? - anddontyoucomebacknomore - Jul-03-2019

I need to locate it to deamonize an script. Android has no "/usr" folder unlike most linux. I downloaded Python 3 from termux app and use qpython as IDLE. Thanks!


RE: Where is usually located the python interpreter on android devices? - metulburr - Jul-03-2019

Python interpreter on Android can be an implementation. An example is Skulpt. You are not running a python interpreter on their server. It mimics python. Thus you can restrict what modules you import, read and write permissions, etc.

Termux appears to be similar based on researching. Although i have never used it so i cant say 100% either way.
Quote:Termux is an Android terminal emulator and Linux environment app that works directly with no rooting or setup required.
Quote:is achieved using VOC, a tool that compiles Python source code to Java class files. This allows Python code to be executed as a native binary on the JVM.

more info.