Run Python Program on android with termux
Termux is an Android terminal emulator.
The answer to the question “ How to create and run python program in Android device? “ Is here.
To run Python programs in android using Termux requires the installation of two termux packages.
- python:
Python package in Termux refers to a collection of Python modules or libraries that can be installed and used in the Termux terminal emulator app for Android. These packages can be used to extend the functionality of Python and perform various tasks such as web scraping, data analysis, and machine learning. Some popular Python packages that can be installed in Termux include NumPy, Pandas, and Scikit-learn.
- Nano :
Text Editor to create a file
WHAT We will learn ?
- Termux Installation
- Update and Upgrade Termux
- Install packages for Python
- Develop Simple Python Program using Nano text editor in Termux
- Run Python Program
- Tips — Solution for “E: Unable to locate package clang” Error
Watch and Learn:
Before we learn “Python on Android: How to Run Programs with Termux,” let’s take a look at Some Important Termux commands we must remember:
- To clear all screen content run the command.
$ clear
- To find current working directory.
$ pwd
Full Tutorial: