[Tutor] Formatting timedelta objects

Noufal Ibrahim noufal at airtelbroadband.in
Mon Dec 10 20:16:04 CET 2007


Hello everyone,
   This is probably something simple but I can't seem to find a way to 
format a timedelta object for printing? I need to be able to print it in 
a HH:MM:SS format but without the microseconds part (which is what you 
get if you str() it).

   Any pointers?

Thanks.


-- 
~noufal
http://nibrahim.net.in/


More information about the Tutor mailing list