Execute python scripts on Android – QPython

I read the book and found that android can run python.

Try it.

First of all, you need to install the python environment on your mobile phone. This is achieved by installing an apk. This apk is called QPython, and there are similar ones such as SL4A.

QPython official website: https://www.qpython.com/

You can download the QPython installation package on the official website and install it on your mobile phone.

adb install XXXX.APK

  

QPython tutorial: https://www.qpython.org/en/guide_howtostart.html

Execute QPython’s default python Script

share picture

Execution result

Share pictures

After uploading the local python script to the mobile phone, Can be executed in the terminal.

adb push C:\Users\user\Desktop\testReport\batDoc\settingsTest.py /storage/emulated/ 0/qpython/scripts3

  

After the upload is successful, click on the program on the homepage and select the python script uploaded by yourself.

adb install XXXX.APK

adb push C:\Users\user\Desktop\testReport\batDoc\settingsTest.py /storage/emulated/0 /qpython/scripts3

WordPress database error: [Table 'yf99682.wp_s6mz6tyggq_comments' doesn't exist]
SELECT SQL_CALC_FOUND_ROWS wp_s6mz6tyggq_comments.comment_ID FROM wp_s6mz6tyggq_comments WHERE ( comment_approved = '1' ) AND comment_post_ID = 3576 ORDER BY wp_s6mz6tyggq_comments.comment_date_gmt ASC, wp_s6mz6tyggq_comments.comment_ID ASC

Leave a Comment

Your email address will not be published.