programma di uscita python
import sys
sys.exit()
come fermare il programma in python
import sys
sys.exit()
script di fine python
exit()
come smettere di eseguire il codice in 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
arresta il programma python
# Do stuff
stop = input("Would you like to stop the program? ")
if stop == "y":
exit()
else:
# do stuff
come fermare pythonw
taskkill /IM pythonw.exe /F
come smettere di pythonw
taskkill /IM pythonw.exe /F