import time f = open("home/pi/Documents/NGC.csv") for x in f: print(x) time.sleep(0.5)