I recently got a android tablet (nexus 7) and would like to be able to write python programs on it (not for it) without access to the internet or needing to access any other device to run the program. If somebody could suggest an app, or tell me how to set it up, it would be great. If however, someone could suggest an app that works with a different language, that would also be nice.
Python can run on Android through various apps from the play store library. This tutorial will explain how to run python on Android using Pydroid 3 – IDE for Python 3 application. Features : Offline Python 3.7 interpreter: no Internet is required to run Python programs.
There is an app called QPython3 in playstore which can be used for both editing and running python script. If you want develop apps , there is Python Android Scripting Layer (SL4A) .
py file! Enter some code here, then go to: Run > Run Module. You'll be prompted to save your file as a module (a compact piece of Python code that can be run from other scripts) and from there, your app will run! That is how to run Python files.
If you want to be able to run a Python interpreter on the device, use SL4A.
http://www.github.com/damonkohler/sl4a
The best editor I've used is DroidEdit. I actually forked out the $2 for the pro version.
https://play.google.com/store/apps/details?id=com.aor.droidedit.pro&hl=en
The best offline IDE I ever use is Pydroid. I love it's feature to easy share on Pastebin.
If you are comfortable doing Python development/testing on the command line, you could follow these instructions to get Python running in Terminal IDE
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With