So to begin with the problem is:
while(True): try: if (reason == 1): main() main2() if (reason == 2): another_main() except Error: print("...")
I have a conditional where it would test which is true. If an error is thrown at reason 1 at main2(), than I would need to go all back to main() and do the procedure all over again. Is there any way that, if the exception error is thrown, I would still able to be at the same function and do the procedures? Thanks in advancement.