摘要: http://stackoverflow.com/questions/375427/non-blocking-read-on-a-subprocess-pipe-in-python 阅读全文
posted @ 2016-05-19 15:20 严北 阅读(565) 评论(0) 推荐(0) 编辑
摘要: 原文出处: Darkbull threading通过对thread模块进行二次封装,提供了更方便的API来操作线程。 threading.Thread Thread 是threading模块中最重要的类之一,可以使用它来创建线程。有两种方式来创建线程:一种是通过继承Thread类,重写它的run方法 阅读全文
posted @ 2016-05-19 10:00 严北 阅读(180) 评论(0) 推荐(0) 编辑