11

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?

timc
2,19415 silver badges13 bronze badges
asked Dec 9, 2012 at 23:49
1

4 Answers 4

7

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.

answered Sep 16, 2017 at 15:08
Sign up to request clarification or add additional context in comments.

1 Comment

This works, but unless you want to use Vim with an Android keyboard, it's not ideal. The solution is to use a separate app to edit your code, but that's still a lot of work. Unfortunately, there aren't many good options that I've found
4

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.

answered Dec 10, 2012 at 0:16

Comments

2

Check out the Scripting Layer 4 Android (sl4a).

There are a number of good Python examples here.

answered Dec 9, 2012 at 23:53

Comments

1

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

answered Feb 21, 2019 at 18:44

Comments

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.