programa de salida de python
import sys
sys.exit()
cómo detener el programa en python
import sys
sys.exit()
script final de python
exit()
salir en python
import sys
msg = "bye bye"
sys.exit(msg)
# you can use it with out a msg
#to stop all execution of code
exit()
cómo dejar de ejecutar código en python
#to stop all execution of code
exit()
programa de salida de python
#Exit everywhere with error message
import sys
sys.exit("Code not Pythonical")
#Exit with a specific status
import os
os._exit()
#Exit in interpreter
quit()
#Exit in Interpreter but more user friendly
exit()
cómo salir del programa en python
import sys sys.exit() //This will exit the python program