python延时函数的使用
库import time函数time.sleep(seconds)参数:seconds延迟执行代码的秒数示例import timewhile(1):print("hello guoguo")time.sleep(1)
·
库
import time
函数
time.sleep(seconds)
参数:
seconds延迟执行代码的秒数
示例
import time
while(1):
print("hello guoguo")
time.sleep(1)
更多推荐
已为社区贡献2条内容
所有评论(0)