Best way to return a value from a python script,sys.exit(0)