Exit while loop in Python,sys.exit()