программа выхода из python
import sys
sys.exit()
как остановить программу на python
import sys
sys.exit()
конечный скрипт python
exit()
как остановить выполнение кода на python
#to stop all execution of code
exit()
# Do stuff
stop = input("Would you like to stop the program? ")
if stop == "y":
exit()
else:
# do stuff
остановить программу python
# Do stuff
stop = input("Would you like to stop the program? ")
if stop == "y":
exit()
else:
# do stuff
как остановить pythonw
taskkill /IM pythonw.exe /F