This commit is contained in:
2024-04-02 13:53:11 +08:00
parent d838257642
commit ca1bb0b8df
11 changed files with 123 additions and 238 deletions

View File

@@ -0,0 +1,11 @@
# 函数的计时器
import guan
@guan.timer_decorator
def my_function():
import time
time.sleep(2)
print('Run finished')
for _ in range(3):
my_function()