0709自我总结 select模块 一.介绍 Python中的select模块专注于I/O多路复用,提供了select poll epoll三个方法(其中后两个在Linux中可用,windows仅支持select),另外也提供了kqueue方法(freeBSD系统) 二.select方法 r_list,w_list,e_list = select.select(rlist, wlist, xlist, [timeout]) 三个参数 rlist wait until ready for read…