Nader Emami <[EMAIL PROTECTED]> writes: > L.S., > > It is very simple question: Why doesn't work the next statments? > > import datetime > > today = datetime.date.today() > > and I get the next error: > > today = datetime.date.today() > Traceback (most recent call last): > File "<stdin>", line 1, in ? > AttributeError: time > > I can't understand it!
It works fine here (Python 2.4.1 on FreeBSD 5-STABLE). Possibly you have a corrupt file? <mike -- Mike Meyer <[EMAIL PROTECTED]> http://www.mired.org/home/mwm/ Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information. -- http://mail.python.org/mailman/listinfo/python-list