摘要:
>>> import datetime>>> class c(): @property def noww(self): return datetime.datetime.now() >>> c.noww>>> x=c()>>> x.nowwdatetime.datetime(2014, 1, 27, 13, 17, 14, 725610)>>> x.nowwdatetime.datetime(2014, 1, 27, 13, 17, 27, 8740)>>> x.now 阅读全文