python timestamp for csv code example
Example: add timestamp csv python
import time
for val in data:
now = time.strftime('%d-%m-%Y %H:%M:%S')
writer.writerow([now, val])
import time
for val in data:
now = time.strftime('%d-%m-%Y %H:%M:%S')
writer.writerow([now, val])