Converting the returned urlopen() into a float
<p>Trying to get this to work, but keep on getting "ValueError: could not convert string to float:" error. I've tried read() and readline() but can't figure it out.</p>

<p>Thanks for the help!</p>

<pre><code>from urllib2 import urlopen
current_time = urlopen("http://just-the-time.appspot.com/?f=%t")
print current_time.readline()

future = float(current_time.readline()) + 30
print "future" + future
</code></pre>
