import urllib 'Find out how much the Earth slowed down between 1821 and 1970.' if __name__ == '__main__': url = 'http://www.cs.toronto.edu/~pgries/pybook/data/TSDL/andrews5.dat.txt' data = urllib.urlopen(url) total = 0 for line in data: values = line.split() for num in values: total = total + int(num) data.close() print total