Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python detect script exit

import atexit
  
n = 2
print("Value of n:",n)
  
atexit.register(print,"Exiting Python Script!")
 
PREVIOUS NEXT
Tagged: #python #detect #script #exit
ADD COMMENT
Topic
Name
4+7 =