I am preparing a python script which contains 4 functions, and a main function calling them. When the script is ran, all the functions are executed one by one, but I manually terminated the script after 2nd function is executed completely.
Now I want, when the script is re-run, it should ignore first two function and start with the 3rd one.
I got one idea to use a file and add an entry for each function when it is executed and next time read from that file, but it will require too much of nested if.
Any other ideas?