Why are slice indices the way they are in python?

Michael Torrie torriem at chem.byu.edu
Thu Nov 30 23:19:12 EST 2006


On Thu, 2006-11-30 at 08:58 -0800, ogbash at gmail.com wrote:
> And if talking about dates, then I suggest NEVER use 2006-12-31
> 23:59:59 in data, always 2007-01-01 00:00:00 instead. 

Forgive me for my ignorance, but isn't "2006-12-31 23:59:59" actually
one entire second earlier than "2007-01-01 00:00:00"?  Hence they are
two different dates are they not?

Michael





More information about the Python-list mailing list