How do I restart my Script within itself? | Sololearn: Learn to code for FREE!
Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок
0

How do I restart my Script within itself?

Basically my question on top. How I am doing this on Windows?

8th Dec 2016, 5:58 PM
Leon N.
Leon N. - avatar
2 ответов
+ 5
there is a way to start a new script using subprocess. otherwise I recommend using while loops and stuff to restart within the script.
17th Jun 2017, 11:22 PM
Ahri Fox
Ahri Fox - avatar
0
So there is no way to start my script and immediately close the script which was calling it?
8th Dec 2016, 7:03 PM
Leon N.
Leon N. - avatar