摘要:
#coding:utf-8class Person(object): def __init__(self,name,wage): self.name = name self.wage = wage def func(self): return '123' @property #方法变为属性 def 阅读全文
posted @ 2017-02-05 15:04
tonyklose1984
阅读(287)
评论(0)
推荐(0)
摘要:
#coding:utf-8import logginglogging.basicConfig(filename='log1.log', format='%(asctime)s -%(name)s-%(levelname)s-%(module)s:%(message)s', datefmt='%Y-% 阅读全文
posted @ 2017-02-05 09:33
tonyklose1984
阅读(10870)
评论(0)
推荐(0)
浙公网安备 33010602011771号