Not sure what you're asking, but if you want to run simple Python scripts you could run them through [Termux](<a href="https://termux.com/" rel="nofollow">https://termux.com/</a>) on your Android phone. You can even write them in Termux using vim or something too.
How about<p><a href="https://kivy.org/doc/stable/guide/android.html" rel="nofollow">https://kivy.org/doc/stable/guide/android.html</a><p>?