Whither datetime.date ?

Diez B. Roggisch deetsNOSPAM at web.de
Sat Feb 26 13:03:05 EST 2005


Harald Hanche-Olsen wrote:
> I'm beginning to wonder if the FreeBSD python package is at fault.

Maybe - at my system, it has no Date or DateTime

Python 2.4.1a0 (#2, Feb  9 2005, 12:50:04)
[GCC 3.3.5 (Debian 1:3.3.5-8)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import datetime
>>> dir(datetime)
['MAXYEAR', 'MINYEAR', '__doc__', '__file__', '__name__', 'date',
'datetime', 'datetime_CAPI', 'time', 'timedelta', 'tzinfo']
>>>   


Maybe this is a clash between a custom datetime module and the python one?

What does

python2.4 -v  -c "import datetime"

give you?
-- 
Regards,

Diez B. Roggisch



More information about the Python-list mailing list