diff --git a/restart.py b/restart.py new file mode 100644 index 0000000..231c543 --- /dev/null +++ b/restart.py @@ -0,0 +1,6 @@ +import os +while 1: + os.system("python3 main.py") + print("Restarting......") + +# if you want to restart the main Script automatically 'n' number of times then rewrite the while loop to run 'n' times. \ No newline at end of file