No Computer at Home? Teach You to Write Python Programs on Your Phone
This tutorial will teach you how to run Python programs on your Android and iOS devices.
Android Section
Recommended Software: Pydroid 3
Pydroid 3 is the easiest-to-use and most powerful Android Python 3 IDE.
Download link: Click here to download
Or copy the link below
1 | https://www.coolapk.com/apk/ru.iiec.pydroid3 |
After installation, the first run will install the Python environment. No manual configuration or variable setup is required.
Once installed, you can start writing code. Note that the input process must use the English keyboard. It is recommended to use Baidu Input Method, which has excellent compatibility with code. If you encounter symbols that won’t appear, you can swipe the blue symbol bar to select the desired symbol. If you input Chinese punctuation using the input method, the code will still not run.
After writing the code, click the yellow run button in the bottom right corner, and it will automatically compile and run. You can also perform input operations in the console.
iOS Section
On iOS, we recommend Pythonista
Available for download from the App Store
Note that Pythonista is a paid software, and the price is quite high. If you have the means, support the original version. If not, you can find solutions on Taobao.
I haven’t purchased this software myself, but you can try it out.