[Tutor] Support for datetime module

Hansen, Mike Mike.Hansen at atmel.com
Mon Sep 8 23:13:37 CEST 2008


 

> -----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:
> http://www.zope.org/Members/fdrake/DateTimeWiki/FrontPage
> 
> Kent

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. 

http://www.egenix.com/products/python/mxBase/mxDateTime/

Mike


More information about the Tutor mailing list