how to make a simple command-line chat in python?,sys.exit(0)