Answers for "how to terminate python program"

14

how to stop the program in python

import sys

sys.exit()
Posted by: Guest on March-07-2020
1

stop procedure python

def some_fuction():
  print("This is all I do!")
  return
# A simple return will end a function
Posted by: Guest on February-27-2020
1

how to exit program in python

import sys sys.exit()	//This will exit the python program
Posted by: Guest on May-06-2020

Code answers related to "how to terminate python program"

Python Answers by Framework

Browse Popular Code Answers by Language