2011年10月11日

Python Sleep

摘要: Python Sleep休眠函数 作者:保⑩洁 Python 编程中使用 time 模块可以让程序休眠,具体方法是time.sleep(秒数),其中"秒数"以秒为单位,可以是小数,0.1秒则代表休眠100毫秒。 # 例1:循环输出休眠1秒 import time i = 1 while i <= 3: print i # 输出i i += 1 time.sleep... 阅读全文

posted @ 2011-10-11 16:54 jamespb 阅读(109393) 评论(0) 推荐(0) 编辑

求知若飢,虛心若愚( Stay Hungry , Stay. Foolish)

摘要: 求知若飢,虛心若愚( Stay Hungry , Stay. Foolish) 阅读全文

posted @ 2011-10-11 16:53 jamespb 阅读(296) 评论(0) 推荐(0) 编辑

导航