def End_Method(): print "PG END"
atexit.register(End_Method)
// Specify the method you want to execute in the argument of atexit.register
Recommended Posts