Python is one of the easiest coding languages to learn. It uses simple words that even a beginner can understand, and with Termux on your Android phone, you can start coding anywhere without needing a laptop.
Installation Commands
Update Termux and install required packages:
pkg update && pkg upgrade && pkg install git python -y
Install Python in Termux with this one command:
pkg install python -y
Check Installation
Check Python version:
python --version
Check pip version:
pip --version
Open & Close Python
Open Python:
python
Close Python:
exit()
Run a Python File
Create and write your code:
nano myfile.py
Run the file:
python myfile.py
Install Packages with pip
Install requests for web tasks:
pip install requests
Install numpy for math operations:
pip install numpy
Install flask for building websites:
pip install flask








