How do i convert python code to run on my android phone?? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

How do i convert python code to run on my android phone??

Python

18th Apr 2019, 6:58 PM
Benjamin Dakpo
Benjamin Dakpo - avatar
3 Answers
+ 11
I use Pydroid.
18th Apr 2019, 7:10 PM
Sebastian Keßler
Sebastian Keßler - avatar
+ 5
To run it properly, you will need to download termux.apk. Then open it and type : $ pkg install python After the installation, type : $ python It will show you : Python 3.7.3 (default, Apr 14 2019, 09:55:09) [Clang 8.0.2 (https://android.googlesource.com/toolchain/clang 40173bab62ec7462 on linux Type "help", "copyright", "credits" or "license" for more information. >>> Then you can write your code and run it. And yes, if you want to use a compiler : $ pkg install nano $ nano <filename.py> $ python <filename.py> Hope you got it..🙂🙂
20th Apr 2019, 2:15 PM
Ayan Fox
Ayan Fox - avatar
+ 3
I use QPython. Both ways are no conversions - you just get a runtime on your phone where you can run the regular Python code. If you want to make standalones, you might check out www.kivy.org
18th Apr 2019, 9:19 PM
HonFu
HonFu - avatar