#๐ running python on android
34 messages ยท Page 1 of 1 (latest)
@icy zealot
Remember to:
- Ask your Python question, not if you can ask or if there's an expert who can help.
- Show a code sample as text (rather than a screenshot) and the error message, if you've got one.
- Explain what you expect to happen and what actually happens.
:warning: Do not pip install anything that isn't related to your question, especially if asked to over DMs.
i dont think there is a version for android but you can use online interpreters
theres one on google i think
im not entirely sure tho
termux is okay
if you want to run it on phone and not on a server, then there's one possible way
You need to fight your phone a bit to prevent it from deep sleeping though.
Use termux
I use it too
you may have to modify some settings to prevent termux from closing
download termux from F-droid as the one on playstore is outdated
Then you need to install python in your termux
run the following commands
pkg update
pkg install python
Thank you
could you use jython?
Do I have to install f-droid?
Because I can't find the download button for termux.
No you don't need to install f droid
Below download F-Droid you will see different termux versions and there should be a Download APK button
just download the latest one
Okay thanks
I made it
replit might be a choice to run a script on
Should I run the Skript then on termux or is there another app named python somewhere, after I installed python with termux?
you run the script on termux
termux is a linux console so most of the linux commands works in termux
to change your current directory use cd
cd (the address where you want to change it to)
then when you are in folder where your script is located you can type command python <script file name>.py
You could run your scripts on script hosting websites so why do you want to do it on your phone instead. Is there any particular reason?
I want to run a Script which makes my phone doing a alarm, when I use my phone after 10pm, so that it is so disturbing, that I go to bed xD
I thought for that it have to run on my phone, but I am not so into programming and texting.
For that you could use tasker, no need of python script lol
This help channel has been closed and it's no longer possible to send messages here. If your question wasn't answered, feel free to create a new post in #1035199133436354600. To maximize your chances of getting a response, check out this guide on asking good questions.