Using a time duration to print out data where every 2 seconds is a pixel
Tim Roberts
timr at probo.com
Tue Sep 11 03:58:33 EDT 2007
cjt22 at bath.ac.uk wrote:
>Thanks however I am still having a problem using the time module for
>arithmetic
>
>My string times are of values such as 09:55:17
>
>and I have code such as:
>
>>from time import *
>>startPoint = strptime(step.sTime, "%H:%S:%M")
>>finishPoint = strptime(step.fTime, "%H:%S:%M")
Your conversion strings cannot be correct. Sure, there are international
differences in rendering dates and times, but not even in Eastern
WhereTheHeckIsStan do they encode hours, then seconds, then minutes.
--
Tim Roberts, timr at probo.com
Providenza & Boekelheide, Inc.
More information about the Python-list
mailing list