Fork me on GitHub
摘要: 一、Python中的线程使用:Python中使用线程有两种方式:函数或者用类来包装线程对象。1、函数式:调用thread模块中的start_new_thread()函数来产生新线程。如下例: 1 import time 2 import thread 3 def timer(no, inte... 阅读全文
posted @ 2015-12-11 17:22 流柯 阅读(8193) 评论(2) 推荐(0)
访客: 浏览: