Home Upgrade Search Memberlist Extras Hacker Tools Award Goals Help Wiki Contact

Installing and Running Python in Termux

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!
[Image: technology.gif]


Possibly Related Threads...
Thread / Author Replies Views Last Post
by R5N3TJan 6, 2026 08:02 PM 4 453 Jan 6, 2026 08:02 PM
Last Post: R5N3T
by R5N3TDec 17, 2025 07:44 PM 0 179 Dec 17, 2025 07:44 PM
Last Post: R5N3T
by R5N3TDec 16, 2025 09:13 AM 4 787 Dec 16, 2025 09:13 AM
Last Post: R5N3T