fixed terminal for pyhton