See: C:\Python25\Lib\test\test_datetime.py
On Oct 26, 3:07 pm, RIAgallery <[EMAIL PROTECTED]> wrote: > >>> dir(datetime.datetime) > > ['__add__', '__class__', '__delattr__', '__doc__', '__eq__', '__ge__', > '__getatt > ribute__', '__gt__', '__hash__', '__init__', '__le__', '__lt__', > '__ne__', '__ne > w__', '__radd__', '__reduce__', '__reduce_ex__', '__repr__', > '__rsub__', '__seta > ttr__', '__str__', '__sub__', 'astimezone', 'combine', 'ctime', > 'date', 'day', ' > dst', 'fromordinal', 'fromtimestamp', 'hour', 'isocalendar', > 'isoformat', 'isowe > ekday', 'max', 'microsecond', 'min', 'minute', 'month', 'now', > 'replace', 'resol > ution', 'second', 'strftime', 'strptime', 'time', 'timetuple', > 'timetz', 'today' > , 'toordinal', 'tzinfo', 'tzname', 'utcfromtimestamp', 'utcnow', > 'utcoffset', 'u > tctimetuple', 'weekday', 'year'] > > On Oct 26, 3:06 pm, RIAgallery <[EMAIL PROTECTED]> wrote: > > > >>> import datetime > > >>> dir(datetime) > > > ['MAXYEAR', 'MINYEAR', '__doc__', '__name__', 'date', 'datetime', > > 'datetime_CAPI', 'time', 'timedelta', 'tzinfo'] > > > On Oct 26, 3:04 pm, RIAgallery <[EMAIL PROTECTED]> wrote: > > > > >>> from datetime import strftime > > > > Traceback (most recent call last): > > > File "<stdin>", line 1, in <module> > > > ImportError: cannot import name strftime > > > > On Oct 26, 3:00 pm, Giacecco <[EMAIL PROTECTED]> wrote: > > > > > Very simple problem: > > > > > from datetime import strftime > > > > > gives me this error > > > > > ImportError at / > > > > cannot import name strftime > > > > Request Method: GET > > > > Request URL: http://localhost:8080/ > > > > Exception Type: ImportError > > > > Exception Value: cannot import name strftime > > > > Exception Location: /Applications/GoogleAppEngineLauncher.app/ > > > > Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/ > > > > google_appengine/google/appengine/tools/dev_appserver.py in > > > > LoadModuleRestricted, line 1281 > > > > > How is it possible? > > > > > Giacecco --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to google-appengine@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~----------~----~----~----~------~----~------~--~---