发布时间:2019-09-15 10:08:40编辑:auto阅读(2639)
#coding=UTF-8
import time
print "this will sleep for 3 seconds"
time.sleep(3)
print "Ok"
#Python 编程中使用 time 模块可以让程序休眠,
#具体方法是time.sleep(秒数),其中“秒数”
#秒为单位,可以是小数,0.1秒则代表休眠100毫秒。
上一篇: 如何使用python自带IDLE
下一篇: python调用dll动态链接库
50967
50346
40963
37830
32296
29188
28074
22902
22864
21197
1057°
1737°
1424°
1357°
1625°
1445°
2103°
3650°
3573°
2520°