Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

ctrl c exception python

#Try the following:
try:
    # DO THINGS
except KeyboardInterrupt:
    # quit
    sys.exit()
 
PREVIOUS NEXT
Tagged: #ctrl #exception #python
ADD COMMENT
Topic
Name
9+1 =