try:
    with open("data.csv") as f:
        for line in f:
            print(line)
except Exception as e:
    print ("Exception: %s" % e)