d = {'today': datetime.today()}
d['today'] = str(d.today)
#AttributeError: 'dict' object has no attribute 'today'
玩弄 python 控制台我发现你不能做上面的事情。为什么会这样?
d = {'today': datetime.today()}
d['today'] = str(d.today)
#AttributeError: 'dict' object has no attribute 'today'
玩弄 python 控制台我发现你不能做上面的事情。为什么会这样?