Forums

why my python program stops a few day later?

I am running my python code and code is stopping 3-4 days later. My code works very well and seems no crash on it? How can i avoid stopping my program and run permanantly?

Consoles on PythonAnywhere do not run forever; some times they need to be restarted for system maintenance. If you upgrade to a paid account you'll be able to use an always-on task, which is kept running forever (or restarted if it exits for any reason).