Any one know of a better python compiler to run on Android? | Sololearn: Learn to code for FREE!
¡Nuevo curso! ¡Todo programador debería aprender IA Generativa!
Prueba una lección gratuita
+ 2

Any one know of a better python compiler to run on Android?

compiler for a Droid

3rd Aug 2017, 11:56 PM
Greg
Greg - avatar
8 Respuestas
+ 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).
4th Aug 2017, 2:18 AM
Kirk Schafer
Kirk Schafer - avatar
+ 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.
4th Aug 2017, 2:26 AM
Kirk Schafer
Kirk Schafer - avatar
+ 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.
4th Aug 2017, 2:37 AM
Kirk Schafer
Kirk Schafer - avatar
+ 4
I use QPython3. No complaints.
9th Aug 2017, 5:13 AM
David Ashton
David Ashton - avatar
+ 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)
9th Aug 2017, 1:47 PM
Kirk Schafer
Kirk Schafer - avatar
+ 3
QP3 comes with some nice sample codes for e.g. accessing the device's camera, TTS, Bluetooth etc.
9th Aug 2017, 5:18 AM
David Ashton
David Ashton - avatar
+ 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])
9th Aug 2017, 5:41 AM
David Ashton
David Ashton - avatar
+ 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.
9th Aug 2017, 5:17 AM
Greg
Greg - avatar