摘要:
import threadingimport timeclass Mythread(threading.Thread): def __init__(self,threadID,name,counter): threading.Thread.__init__(self) self.threadID = 阅读全文
posted @ 2017-11-28 15:01
喻晓生
阅读(3116)
评论(0)
推荐(0)
摘要:
import _threadimport time#1 线程函数def print_time(thread_name,delaytime): count = 0; while count < 5: time.sleep(delaytime); count += 1; print("%s %s" % 阅读全文
posted @ 2017-11-28 10:34
喻晓生
阅读(305)
评论(0)
推荐(0)

浙公网安备 33010602011771号