Python: Begin one script, kill the old one

50 Views Asked by At

I am new to python and i have some trouble with my passing from one running script to another one WITH terminating the first one. It is probably super basic, i just could not find anything on that.

With a button beeing pushed i am passing over to another python script using execfile(). The problem is that those two scripts are obviously running parallel now. I would like the first one to stop with the start of the second one. Any recommendations?

0

There are 0 best solutions below