title: Python wait until?
body: <p>I am getting data from a previously requested url. Everything works so far.</p>
  <p>My problem:
  I try to make a query every X seconds and if the query shows a different value, something should be done. But it prints Solving-Capture even when finalresponseback != notready</p>
  <blockquote>
  <pre><code> responseback = requests.get('https://2captcha.com/res.php?json=1&amp;action=get&amp;key=' + apikey + &quot;&amp;id=&quot; + finalrequest)
  </code></pre>
  </blockquote>
  <pre><code> responseback_json = responseback.json()
   finalresponseback = responseback_json['request']
   print(responseback_json)
   notready = (str(&quot;CAPCHA_NOT_READY&quot;))
  
  
  
   while(finalresponseback == notready):
       print(&quot;Solving-Capture...&quot;)
       if finalresponseback != notready:
           print(&quot;Entering...&quot;)
  </code></pre>