python terminal chat