... 用这个装饰器装饰,做到计算函数执行时间?这怎么办呢?那就用下面代码。 import time def timer(func): def inner(*args,**kwargs): start = time ...
確定! 回上一頁