We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d8e0383 commit 7251b8fCopy full SHA for 7251b8f
select/test_epoll.py
@@ -0,0 +1,10 @@
1
+import select
2
+import os
3
+
4
5
+ep = select.epoll()
6
+ep.register(0, select.EPOLLIN)
7
+res = ep.poll(2000)
8
+print(res)
9
+for ev, fd in res:
10
+ print(os.read(fd, 256))
0 commit comments