David wrote:
I get this error with the int(time.localtime()) start_of_today = int(time.localtime())TypeError: int() argument must be a string or a number, not 'time.struct_time'
Should have been start_of_today = int(time.time()) -- Bob Gailer Chapel Hill NC 919-636-4239 _______________________________________________ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor