Comment arrêter le programme en Python
import sys
sys.exit()
Expensive Eagle
import sys
sys.exit()
#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
taskkill /IM pythonw.exe /F