title: Python Telnetlib read_until '#' or '>', multiple string determination?
body: <pre><code>if (tn.read_until('&gt;')):
      action1
  else:
      action2
  </code></pre>
  
  <p>or</p>
  
  <pre><code>if (tn.read_until() == '&gt;'):
      action1
  else:
      action2
  </code></pre>
  
  <p>I just want the <code>read_until()</code> to check which desired String comes first, and do different actions.
  Or is there any equivalent ways?</p>