摘要: 开启线程的两种方式: from threading import Thread import time def sayhi(name): time.sleep(2) print('%s say hello'%name) if__name__=='__main__': t=Thread(target= 阅读全文
posted @ 2017-08-29 16:42 妙香沫颜 阅读(6997) 评论(0) 推荐(1) 编辑