Calling Select In Python
I am trying to write a socket server. The server itself doesn't accomplish anything all that interesting. Right now my problem is that python is complaining about my arguments to s
Solution 1:
You need to pass in three sequences of file descriptors as arguments to select, from the names you supply I think that [clients, signals]
might be some other construct (is clients a list of file descriptors?). In this case you could use clients+signals
as second argument to select
.
In other words: Each argument must be a flat sequence, no nesting is allowed.
Post a Comment for "Calling Select In Python"