Run Python Program on android with termux

Computer Bits Daily
1 min readFeb 1, 2023

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:

Sign up to discover human stories that deepen your understanding of the world.

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

Computer Bits Daily
Computer Bits Daily

Written by Computer Bits Daily

Learning Computer skills and Computer technology by learning and sharing

No responses yet

Write a response