title: I am asking an advice on how to proceed on populating an html with python
body: <p>So I have a txt file of a conversation with a format as such </p>
  
  <p>name and date 
  message </p>
  
  <p>name and date
  message </p>
  
  <p>etc</p>
  
  <p>and I have an html/CSS template ready and a python script that reads the txt</p>
  
  <p>I want to take each name and date
  message on txt and populate the html with them under the tag/class</p>
  
  <p>for example </p>
  
  <pre><code>&lt;ul class="chat"&gt;
   &lt;li class="chat__bubble chat__bubble--rcvd chat__bubble--stop"&gt;name date and the message &lt;/li&gt;
  &lt;li class="chat__bubble chat__bubble--rcvd chat__bubble--stop"&gt;name date and the message &lt;/li&gt;
  </code></pre>
  
  <p>I do not want a code, but an advice or an example on how to approach it. any idea?</p>