On 1/30/11, walter weston <simplemin...@gmail.com> wrote: > I get this error when I try and load the datetime module, > > Traceback (most recent call last): > File "C:/Python27/TIMED_PROGRAM.py", line 2, in <module> > datetime.ctime() > AttributeError: 'module' object has no attribute 'ctime' > > > why is this? Did you actually import it first, as in import datetime or from datetime import ctime If not, then that is the problem. I have never used this module, so it is possible that ctime is really non-existent or is not a method, but I am not sure there. >
-- Have a great day, Alex (msg sent from GMail website) mehg...@gmail.com; http://www.facebook.com/mehgcap _______________________________________________ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor