Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

add timestamp csv python

import time

for val in data:
    now = time.strftime('%d-%m-%Y %H:%M:%S')
    writer.writerow([now, val])
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #add #timestamp #csv #python
ADD COMMENT
Topic
Name
8+5 =