where does windows store python module sys.exit code example Example: python system exit import sys sys.exit(0)