In the Termux app, you can install various programming languages, one of which is Python. This allows you to write and run Python commands more flexibly directly from your smartphone. So, let’s jump right into the steps for installing and running Python in Termux.
1. First, download the Termux app from the Google Play Store, or you can use the link below. Then, install and open the app.
2. After opening the app, type the command apt-get update && apt-get upgrade. This command is used to update the packages in Termux, ensuring that any packages you install later will be the latest version.
Screenshot (Click to View)
3. After completing the update & upgrade, it’s time to install Python. Type the command apt-get install python. The first time you install something in Termux, you’ll be asked for permission—just type y to continue.
Screenshot (Click to View)
4. The installation process will take a few minutes, depending on your internet connection. Once it’s done, type python to start Python.
Screenshot (Click to View)
5. After that, a prompt will appear where you can start writing Python code.
Screenshot (Click to View)
6. At this point, you can write Python code as you like. Here, I’m giving an example of a simple code for basic math calculations.
Screenshot (Click to View)
That’s it for the tutorial on running Python in Termux on Android. With Termux, you can do even more anywhere and anytime since it’s super mobile and convenient. Hope you find it useful, guys!
1. First, download the Termux app from the Google Play Store, or you can use the link below. Then, install and open the app.
2. After opening the app, type the command apt-get update && apt-get upgrade. This command is used to update the packages in Termux, ensuring that any packages you install later will be the latest version.
Screenshot (Click to View)
3. After completing the update & upgrade, it’s time to install Python. Type the command apt-get install python. The first time you install something in Termux, you’ll be asked for permission—just type y to continue.
Screenshot (Click to View)
4. The installation process will take a few minutes, depending on your internet connection. Once it’s done, type python to start Python.
Screenshot (Click to View)
5. After that, a prompt will appear where you can start writing Python code.
Screenshot (Click to View)
6. At this point, you can write Python code as you like. Here, I’m giving an example of a simple code for basic math calculations.
Screenshot (Click to View)
That’s it for the tutorial on running Python in Termux on Android. With Termux, you can do even more anywhere and anytime since it’s super mobile and convenient. Hope you find it useful, guys!


![[Image: sc1.jpg]](https://i.postimg.cc/Y2GdSyDk/sc1.jpg)
![[Image: sc2.jpg]](https://i.postimg.cc/CK9frJGB/sc2.jpg)
![[Image: sc3.jpg]](https://i.postimg.cc/y8MVwGbw/sc3.jpg)
![[Image: sc4.jpg]](https://i.postimg.cc/2yR9YQDr/sc4.jpg)
![[Image: sc5.jpg]](https://i.postimg.cc/fbY0Fm8N/sc5.jpg)
![[Image: technology.gif]](https://i.postimg.cc/44pnRpN5/technology.gif)