title: PYTHON - looping the argument that have multiple information with same starts and ends
body: <p>I've tried to find this solution but unable to get the correct answer. 
  I want it to display all the id inside the text file.</p>
  
  <p><strong>This is my data in a file</strong></p>
  
  <pre><code>sep 
  id_775435
  sep
  tmane_information
  site_area
  sep
  id_123123123
  sep
  </code></pre>
  
  <p>I've had try one example also from stackoverflow...</p>
  
  <pre><code>with open('C:/JIR File/A.txt') as input_data:
  for line in input_data:
      if line.strip() == 'sep':  
          break
  
  for line in input_data:  
      if line.strip() == 'sep':
          break
      print (line)  
  </code></pre>
  
  <blockquote>
    <p>Output
    : id_775435</p>
  </blockquote>
  
  <p>My concern is to display both of the visual id and maybe more than one with the same special characteristic.</p>
  
  <blockquote>
    <p>Output : </p>
  
  <pre><code>       id_775435
         id_123123123
  </code></pre>
  </blockquote>
  
  <p>Hope you guys can understand it. 
  Thanks for helping in advanced.</p>