会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
十年如一..bj
博客园
首页
新随笔
联系
订阅
管理
2017年5月6日
python学习之-- 装饰器
摘要: 1 def timer(func): # func = test1 2 def warpper(): 3 start_time = time.time() 4 func() 5 end_time = time.time() 6 print('the function time is %s' %(st
阅读全文
posted @ 2017-05-06 00:09 十年如一..bj
阅读(162)
评论(0)
推荐(0)
编辑
公告