import urllib.request import time eelmine="" while True: tekst=urllib.request.urlopen("https://docs.google.com/spreadsheets/d/1x0Mcg4iigJkjpATbEd5L7hewQhVJieFyrwxhNkbx7Po/export?format=csv" ).read().decode("utf-8") if tekst!=eelmine: print(tekst); m=tekst.split(",") x=float(m[0]) y=float(m[1]) print(x, " ja ", y) eelmine=tekst time.sleep(1)