[Tutor] Support for datetime module
johan at accesstel.com.au
Tue Sep 9 08:34:34 CEST 2008
I managed to get a version of the datetime module in Python and used in my
package. It works fine.
From: tutor-bounces+johan=accesstel.com.au at python.org
[mailto:tutor-bounces+johan=accesstel.com.au at python.org] On Behalf Of
Sent: Tuesday, 9 September 2008 7:14 AM
To: tutor at python.org
Subject: Re: [Tutor] Support for datetime module
> -----Original Message-----
> From: tutor-bounces+mike.hansen=atmel.com at python.org
> [mailto:tutor-bounces+mike.hansen=atmel.com at python.org] On
> Behalf Of Kent Johnson
> Sent: Saturday, September 06, 2008 7:08 AM
> To: johan at accesstel.com.au
> Cc: tutor at python.org
> Subject: Re: [Tutor] Support for datetime module
> On Sat, Sep 6, 2008 at 2:42 AM, Johan Geldenhuys
> <johan at accesstel.com.au> wrote:
> > Hi all,
> > I have want to use the datetime module on a system with ver
> 2.2.3 installed.
> > I know it's very old, but that's what I have to deal with
> and can't upgrade.
> > So please don't suggest that.
> > As you know datetime was available from version 2.3.
> > I want to know where can I get the datetime module so that
> I can include it
> > in my package that I use on my device?
> datetime is implemented in C so getting the version from 2.3 to work
> on 2.2 might be difficult.
> Apparently the version in the std lib is derived from a Python version
> that was part of Zope, this might be helpful if you can find the
> source it refers to:
This is probably moot since the OP solved the issue using other means, but I
thought datetime was based on mxdatetime. Even if it isn't, mxdatetime
supports Python 2.1 and newer.
Tutor maillist - Tutor at python.org
More information about the Tutor