So I want to practice python on my Android. Is there a way I can get the interpreter or an interpreter emulator on my device?
-
2Well, there's always pythonanywhere.comirrelephant– irrelephant2012年12月09日 23:50:41 +00:00Commented Dec 9, 2012 at 23:50
4 Answers 4
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.
1 Comment
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.
Comments
Check out the Scripting Layer 4 Android (sl4a).
There are a number of good Python examples here.
Comments
Download PyDroid 3 from Playstore and if you like it buy the pro version. It costs around 2$ but you have all you need to do Python 3 programming