3
chipset
7y

Any place to run a simple python script? For free.

I just need to keep it running, forever.

Can't run on my laptop, script needs constant internet.

Comments
  • 2
    See pythonanywhere.com , redhat's openshift, heroku
  • 1
    @vish they all need a process listing on a port for incoming connections, they crash otherwise. If i have that processing running, i can't run my non web thread.
  • 3
    "forever"

    dude what?
  • 1
    docker? or a vm on aws or such... But I think theres gotta be a better way to do what u wanna do tho.... maybe use nodejs instead of python I understand its threading is asyncronous and sockets wont close if theres no activity... Or maybe I missunderstanding what u saying..
  • 1
    Google AppEngine had a free tier, would that be enough?
  • 4
    A raspberry pi
  • 1
    @tahnik forever as in, the script polls a url every 2 mins, i need the script running for polling.
  • 1
    @JohanO don't have a credit card 😞 otherwise that's the best option for me
  • 1
    @kdev pythons threads are blocking, otherwise it would have so easy running my process in the background.
  • 0
    firebase functions
  • 0
    @coldfire need to run a continuously polling function. Would firebase be helpful in that?
  • 0
    You can use a Google cloud environment if you wanna get your hands a bit dirty.
Add Comment