尽管如此,通常我们会在此基础之上构造一个更高级的接口来模拟一个计时器。例如:. import time class Timer: def __init__(self, func=time.perf_counter): ...
確定! 回上一頁