How to run Python programming language on android phone ( 3 Methods )

 


Why Run Python On Android : Because of Our needs we need to run it on android ( education and knowledge purposes )

Needs To Run Python On Android : 

• Mobile Phone 

• Internet connection

• Daily User Of My Website 😂


• Run Python On Android ( 1st Method )

• Needs For 1st Method

1 - Termux 

2 - Internet

3 - Patience ( Very Important )

4 - Knowledge Of Python or Linux ( Optional )

Step 1 - Download Termux 

Note : Termux Is available on Google Play but it is not working and not gives update


Note : On F-droid termux officially launched it so don't be penic it is safe


Step 2 - Install The Latest Version Of Termux ( simply scroll down )


Step 3 - Download it


Step 4 - Open app after download and wait to load everything


* When download complete you will see a cmd like Linux



Step 6 - Now write following commands 

• Pkg update


Step 7 - Enter Y if asking y/n


Step 8 - Click Y if asking for keep current version


Step 9 - after updating run one more command for installing python and hit enter

   • For Python 3 - Pkg install python
   • For python 2 - Pkg install python2

* It will always install latest version 😀



Step 10 - To Run Python enter following commands
     
       • For Python 3 - python
       • For Python 2 - python2


• Now you can do anything..

To exit - exit()
To close termux - exit and press enter

Run Python on android ( 2nd Method )

Requirements -

• Web browser
• Internet

Step 1 - open your web browser 


Step 3 - Now You can write and run codes
Step 4 - To Run the code click on run button


* It is online compiler where you can write code and run online

How to run Python on android phone ( 3rd Method )

Requirements -

• Internet



Step 2 - open it and setup


Step 4 - Now you will see interface like code editor ... It is ide , now you can write and run code 

Step 5 - To Run the code click on yellow Circle like button




Step 6 - It has various useful and powerful features









Step 7 - You can run also interpreter in it (cmd)



Step 8 - You can install libraries








Step 9 - You can Learn python here





    

                             Enjoy 😃




Comments