Python install in Android using Termux



What is Python ?

Python is an interpreted high-level programming language for general-purpose programming. Created by Guido van Rossumand first released in 1991, Python has a design philosophy that emphasizes code readability, notably using significant whitespace. It provides constructs that enable clear programming on both small and large scales. In July 2018, Van Rossum stepped down as the leader in the language community after 30 years.

How to install in Android ?

Open Termux app and type following commands

$ pkg install python
$ pkg install python2
$ pkg install python3
$ pkg install nano

To write python script type

$ nano filename.py

Hello world program in python

print ("hello world!")

To run python script type



$ python filename.py

Comments

Post a Comment