1

Adding time since start in python program

view story
linux-howto

http://ubuntuforums.org – Hi All, Probably a basic question here, but I'm confusing myself with the time() function in python. I want to add a column to the output of the following code with the time since the program was activated before the temperature given. This is so i get an output like Time (s) Temp (C) 0 30 15 34 30 45 etc which i can then send to gnuplot to graphicise for me. I got this code from the cambridge uni website (its for a simple raspberrypi project - and not much help on their forums). Code: # Copyright (c) 2012 Matthew Kirk # Licensed unde (Hardware)