Dude... it's:

print(TO_CSV,"%f",une[0])

It adds a new CSV line at every run()

You can't just print a vars variable directly.