How to use Python For Android in Terminal on all Android OS easily by using updated python.sh script

Hello,everyone.In this post,I am going to share how to use Python For Android in Terminal in the easiest way .This method will work on all Android OS versions .This method has been tested on all OS by me and works successfully.By using this method,you can also run  Python with your desired command name  .Let us proceed to the tutorial.

Tools Required: 

1. Python For Android.apk :  Download Here

2. python.sh file (fixed and updated) :  Download Here

3.Terminal.apk : Download Here

Working Screenshot:screenshot_2016-09-05-11-15-01.png

 

Steps:

1.Download & Install Python For Android app.Open it and install it’s Python library by clicking on “Install ” Button.Internet is required for first time installation.After successful installation of Python library,your screen will be as shown in screenshot below:screenshot_2016-09-03-19-28-48.png

2.Now,copy downloaded python.sh script file to /system/bin folder.Now,change the permission of Python.sh file to 777 in /system/bin folder.

3.Now ,open Terminal and you can easily run Python with the command as shown in Screenshot:

python.sh

screenshot_2016-09-05-11-15-01.png

4.If everything is correct,you will see Python running successfully in Terminal.

5.You can also rename the python.sh file in /system/bin to any name you like & then you can use that name as command for running Python.I have renamed python.sh file to gaurav

screenshot_2016-09-05-11-16-58.png

6.Now,i can run Python in Terminal by using command:

gaurav

screenshot_2016-09-05-11-18-00.png

 

7.In that way,you can run Python with your desired command name.

Thanks: Luiz

Happy Phreaking brothers.

Thanks everyone for reading my post.Thanks to my  friends and family.

Post your questions in Comments.

Advertisements

7 thoughts on “How to use Python For Android in Terminal on all Android OS easily by using updated python.sh script”

    1. I think that you have not read the post carefully.I have already explained about changing file permission of python.sh to 777 .You can use Xplore file manager even.There is no 7774 file permission.

    1. Just use Xplore File manager.Make a long press on that file and then you get option to change file permissions.or you can use Root Explorer app or ES File Manager for that

    1. python command depends upon the way you are running python and python.sh file name in /system/bin folder if you have copied it there.otherwise, use this command to run python file:
      $ sh python.sh filename.py
      You can also try python in Termux Android app @LaNa69

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s