I am creating a quick python3 program and at one part the server will need to be restarted. The thing is, that is not the end of the what the python file is supposed to do. Is there a way to make it start up from where it stopped when the user restarts or (if that isn't possible) automatically open a 2nd python file, which will continue with the rest of the task required.
Thanks!