import urllib f = urllib.urlopen("http://weather.chron.com/US/TX/Houston.html") var= f.read() f.close() num = var.find("