When I search for Python and Chat I always read TCP/ IP. They use Sockets to update the Console with new incoming data. But I don't find a way to refresh the console when I use an online MySql database with password etc..
Example:
I want to have a simple Console Chat, where you can write with somebody, and the incoming Text refreshes automatically when somebody writes something.
Or with Threads:
When I load the Text (like in a chat) from the Database and print it out it always prints the text again and again.