摘要: 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) 编辑