python 3wm exit script