摘要: 晚上回来睡不着,随便写了下。 1 #!/usr/bin/python 2 #condig:utf-8 3 import threading,time 4 5 def sayhello(): 6 print "test!!" 7 #time.sleep(1) 8 9 for i in range(100): 10 i=threading.Thread(target=sayhello) 11 i.start() 阅读全文
posted @ 2014-03-08 00:27 墨迹哥's 阅读(229) 评论(0) 推荐(0)