title: Search and get a line in Python
body: <p>Is there a way to search, from a string, a line containing another string and retrieve the entire line?</p>
  
  <p>For example:</p>
  
  <pre><code>string = 
      qwertyuiop
      asdfghjkl
  
      zxcvbnm
      token qwerty
  
      asdfghjklñ
  
  retrieve_line("token") = "token qwerty"
  </code></pre>