开发者

python.select, sending lists as arguments

r=select([f,s],[],[])[0][0].

Does this mean wait until the file pointed to by 开发者_如何学编程f AND s is ready for readiing or f OR s is ready for reading?


The latter, although both may be returned if they're both ready for reading.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜