I am learning Python, and I have decided to make some practise by coding a mini chat in terminal, with a server and a client. But there is a problem, to make a real chat, the client must be able to type, send and receive messages in the same time like that:
//MESSAGES
>bla bla to send
So messages are scrolling while in the bottom of the shell, there's my input.
I have searched the web how to make that, maybe the multi-threading, no. The input() fonction blocks the process.
If you have an answer to my question, it'll be great! Thanks in advance!