How to keep my infinite loop python code alive forever on repl.
How to keep my infinite loop python code alive forever on repl. it restarts every one hour(I have hacker subscription)
Oh I give up
Just answer plz 🥺
U gonna respond
There’s the answer
Search it up dude
You could do it this way.
#!/usr/bin/python import time # some python code that I want # to keep on running # Is this the right way to run the python program forever? # And do I even need this time.sleep call? while True: time.sleep(5)