title: Reading from a file how to append strings to a list until a specific marker in python
body: <p>I have a input text file:</p>
  <pre><code>  This file contains information of students who are joining picnic:
       @@@ bob alice rhea john 
       mary alex roma
       peter &amp;##&amp;
  </code></pre>
  <p>Now I would like to append students name in a list  in a line when find @@@ marker &amp; stop appending when find &amp;##&amp; marker. Output should be(using python):</p>
  <pre><code>bob alice rhea john mary alex roma peter 
  </code></pre>