+ 2
Any one know of a better python compiler to run on Android?
compiler for a Droid
11 Answers
+ 4
I hear QPython3 has been updated. I went with Python native inside Termux (I have another one in Linux Deploy but that's not as much fun to set up).
+ 4
@James: nice, thanks. That had me go out and look.
To be fair to Linux Deploy: I installed right when my desired distros were switching, and I chose a CentOS distro with partial EPEL (enterprise packages).
They've since fixed it so that Kali Linux, etc. can be installed again.
+ 4
* reminds self to free space to try QPython3 update
@Greg ... because yes, it's straightforward and done. Kuba's also recommending it so people can help if you go that way.
+ 4
I use QPython3. No complaints.
+ 4
Yes for the pip script from @David.\
You can also "drop to the shell" at any point (on a run screen) by pressing Ctrl-C then enter; the script will 'break out' / quit to a command line.
Do what you need here, then either type 'exit' to go back to QPython or press Ctrl-D (which is how you exit most shells that aren't Windows).
* For more advanced users, Ctrl-Z (push process to background job) might work, then work on stuff, then finally typing 'fg' (for pushing the job back to foreground) may also work; I didn't try it but it may be nicer than breaking out as Ctrl-C does. (see 'jobs' command in Linux-y systems)
+ 3
QP3 comes with some nice sample codes for e.g. accessing the device's camera, TTS, Bluetooth etc.
+ 3
This might help with the modules
https://stackoverflow.com/a/24773951/8211465
you can also run pip_console.py that comes with the app.
or run this code:
import pip
module_name = input("enter module to install\n")
pip.main(['install', module_name])
+ 1
do you happen to know how to download modules in to it? I really like it as well but I need to add to it.