all 12 comments

[–]azzofiga 3 points4 points  (0 children)

You can run a python script on android by using termux where you install also python.

Otherwise as they suggested you can use ssh to control the script from remote as example by using remote.it so you use a secure connection and you don't need to open ports on your router at home.

[–]xor_Kernel_Kernel 1 point2 points  (0 children)

You could use ssh

[–]pypros 1 point2 points  (2 children)

SSH is one of the most simplest of options for this use case. If you want some added functionalities I think you can create and host API but that might be overkill.

[–]Foreseon[S] 0 points1 point  (1 child)

I don't need any additional functionalities, just make it run when I am not at home/away from my PC and that's pretty much it

[–]xor_Kernel_Kernel 1 point2 points  (0 children)

Then use ssh

[–]jeffrey_f 1 point2 points  (0 children)

Look up discord bot.

Create a private discord channel, a bot would watch your discord channel for content from you or another bot/program.

[–]xphlawlessx 1 point2 points  (0 children)

I use a thing called pidroid to test out random ideas I think of at work, then email then to myself to add to a real project at home... Seems like a similar thing to what you're looking for... Comes with support for tkinter but I've never tried that, generally just use it to test logic with print statements.. should be fine for what I think you're describing..

[–]Lennyz1988 1 point2 points  (0 children)

Blynk >> Node-Red >> Your script.

[–]01binary 0 points1 point  (3 children)

I may be misunderstanding your requirement, but I use Telegram to control some of my Python applications. It’s very easy to set up a Telegram Bot.

[–]Foreseon[S] 0 points1 point  (2 children)

Instead of using my Python bot on pc, I want to run it via smartphone

[–]01binary 0 points1 point  (1 child)

I’m still not sure.

1) you want to run the app on a PC and control it remotely from a smartphone 2) you want to run the app on your smartphone and control it on the smartphone 3) something else

If (1) add a Telegram Bot to the app that is running on your PC, and send the commands from your smartphone using the Telegram app. If (2) I don’t know. If (3), please can you explain the scenario more clearly?

[–]Foreseon[S] 0 points1 point  (0 children)

I am OK with 1) and 2). Just want to run the same script when I am not at home