Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #65726 > unrolled thread

Re: Python 2.7.6 help with modules

Started byScott W Dunning <swdunning@cox.net>
First post2014-02-08 23:00 -0700
Last post2014-02-08 23:00 -0700
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: Python 2.7.6 help with modules Scott W Dunning <swdunning@cox.net> - 2014-02-08 23:00 -0700

#65726 — Re: Python 2.7.6 help with modules

FromScott W Dunning <swdunning@cox.net>
Date2014-02-08 23:00 -0700
SubjectRe: Python 2.7.6 help with modules
Message-ID<mailman.6571.1391925617.18130.python-list@python.org>

[Multipart message — attachments visible in raw view] — view raw

On Feb 8, 2014, at 6:46 PM, Chris Angelico <rosuav@gmail.com> 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?  

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web