For reference, you can also see:
http://stackoverflow.com/questions/8906926/formatting-python-timedelta-objectswhich shows a similar approach. The accepted solution there uses the divmod() function to simplify a little bit of the math. _______________________________________________ Tutor maillist - [email protected] To unsubscribe or change subscription options: https://mail.python.org/mailman/listinfo/tutor
