I managed to get a version of the datetime module in Python and used in my package. It works fine.
Thanks Johan -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Hansen, Mike Sent: Tuesday, 9 September 2008 7:14 AM To: [email protected] Subject: Re: [Tutor] Support for datetime module > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Kent Johnson > Sent: Saturday, September 06, 2008 7:08 AM > To: [EMAIL PROTECTED] > Cc: [email protected] > Subject: Re: [Tutor] Support for datetime module > > On Sat, Sep 6, 2008 at 2:42 AM, Johan Geldenhuys > <[EMAIL PROTECTED]> 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 _______________________________________________ Tutor maillist - [email protected] http://mail.python.org/mailman/listinfo/tutor _______________________________________________ Tutor maillist - [email protected] http://mail.python.org/mailman/listinfo/tutor
