looping within python resources..., I did not find a way to drop the 0 from hours/minutes. In fact I'd like to simply calculate the number of seconds since midnight so I did something like:
Code:
int(eval(time.strftime("%H*3600 + %M*60 + %S" , time.localtime())))
Cheers
Leave a comment: