What is the best way to fetch frequently changing data from the web?
<p>I have to download a text file every 20 seconds and process it as a string</p>

<pre><code>s=urlopen(url).read()
</code></pre>

<p>This works but I've read that it's not very efficient.</p>

<p>How would you do it?</p>
