Python is an interpreted, high-level, general-purpose programming language. Created by Guido van Rossum and first released in 1991, Python's design philosophy emphasizes code readability with its notable use of significant whitespace. Its language constructs and object-oriented approach aim to help programmers write clear, logical code for small and large-scale projects.
so to set up and run python in android smartphones s
you need to follow basic simple steps:
1.Install termux
(if you donto know how to installl termux search termux on fdroid and download from there)
now after downloading termux
first of all updates the packages by using
pkg update && upgrades
after upgrading the termux
Run the following cmd to install python
In Termux Python v3.x can be installed by executing
In Termux Python v3.x can be installed by executing
pkg install python
now after installing python
type cmd : python to check whether it is installed or not
if it installed then error willnot occour
Now to excute any program in python
first of write some code using cmd nano helloworld.py
and write print('helloworld')
ctrl + s to save
ctrl + x to edit the nano editor from termux
Now run the python file using cmd
python helloworld.py
Voila !!!
You have successfully run your first python program
Conjratulations !!!
Continue learning python by following our website !!!!
For more information about python you can checkout the officical website of python.org or
https://wiki.termux.com/wiki/Python
for the insatllation and requirements on termux .
If you encounter any problems do not forget to comments below I will reply it as soon as possible
Thank you!!!
