En Tue, 10 Feb 2009 04:11:31 -0200, Ken escribió:
I was testing select on windows xp with python 2.6.1, the code is simple:
See the note in the documentation of module select:
http://docs.python.org/library/select.html#select.select
"Note: File objects on Windows are not acceptable, but sock
I was testing select on windows xp with python 2.6.1, the code is simple:
import sys
import select
def testSelect():
r = select.select([sys.stdin], [], [], 5.0)
print r
if __name__ == "__main__":
try:
testSelect()
except select.error, e:
print e
While an error ra