Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

how to close python with a line of code

exit()
#If you are running this on an IDE like IDLE, then it might confirm if you want to quit the program.
 
PREVIOUS NEXT
Tagged: #close #python #line #code
ADD COMMENT
Topic
Name
2+2 =