[Python-Dev] Issue 2736: datetimes and Unix timestamps
Dirkjan Ochtman
dirkjan at ochtman.nl
Mon Jun 4 14:18:42 CEST 2012
On Mon, Jun 4, 2012 at 2:11 PM, Nick Coghlan <ncoghlan at gmail.com> wrote:
> My perspective is that if I'm dealing with strictly absolute time, I
> should only need one import: datetime
>
> If I'm dealing strictly with relative time, I should also only need
> one import: time
Can you define "relative time" here? The term makes me think of things
like timedelta.
Personally, I would really like not having to think about the time
module at all, except if I wanted to go low-level (e.g. get a Unix
timestamp from scratch).
Cheers,
Dirkjan
More information about the Python-Dev
mailing list