title: Store chat messages in txt file
body: <p>Let's assume that we have simple chat like <a href="https://www.geeksforgeeks.org/simple-chat-room-using-python/" rel="nofollow noreferrer">THIS</a></p>
  
  <p>have you any idea how to resolve problem with storing all messages in file since host is running, and when new client is connecting it see what other clients was writing before. When host is disconnected file is destroyed. 
  I know that database use would be the easiest and quicest but I dont want to use any module or framework just pure python</p>