Keep Alive Keep alive pip package for keeping repls awake How to use Install the module through pip pip install keep_repl_alive Import the keep_repl_alive function from the module from keep_repl_alive import keep_alive Add the function into your code ..... keep_alive()