I downloaded python 3.8.5 -2 package from https://archlinuxarm.org/packages/aarch64/python . The downloaded package has /bin directory with included files of type application/x-sharedlib. I flashed the package to a rooted android device and gave execute permission to all files in the package. Now, how to run python from adb shell ?
Earlier, I was able to achieve running python from android adb shell using the package https://github.com/AaronWatson2975/AndroidPython3 as it had a python file of type application/x-executable in /bin directory.
View all questions in Android forum