incrementing a time tuple by one day

Michael Hoffman m.h.3.9.1.without.dots.at.cam.ac.uk at example.com
Thu Sep 23 21:10:25 CEST 2004


Donn Cave wrote:
> $ python
> Python 2.2 (#1, 11/12/02, 23:31:59) 
> [GCC Apple cpp-precomp 6.14] on darwin
> Type "help", "copyright", "credits" or "license" for more information.
> 
>>>>import datetime
> 
> Traceback (most recent call last):
>   File "<stdin>", line 1, in ?
> ImportError: No module named datetime

The datetime module is new in Python 2.3.
--
Michael Hoffman



More information about the Python-list mailing list