Python 2.7.6 help with modules

Scott W Dunning swdunning at
Sun Feb 9 07:00:13 CET 2014

On Feb 8, 2014, at 6:46 PM, Chris Angelico <rosuav at> wrote:
> That's certainly effective. It's going to give you the right result. I
> would be inclined to start from the small end and strip off the
> seconds first, then the minutes, etc, because then you're working with
> smaller divisors (60, 60, 24, 7 instead of 604800, 86400, 3600, 60);
> most people will understand that a week is 7 days, but only people who
> work with DNS will know that it's 604800 seconds. But both work.

How would working from the small end (seconds) first and going up to weeks allow me to work with the smaller divisors?  Wouldn’t it still have to be in seconds?  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the Python-list mailing list