title: Python: sys.stdin in select doesn't work
body: <p>I'm searching a way to read from console OR get data from socket. I want to use this</p>
  
  <pre><code>test = select.select([sys.stdin, socket],[],[],waitTime)
  </code></pre>
  
  <p>but I get always this error:</p>
  
  <pre><code>TypeError: argument must be an int, or have a fileno() method.
  </code></pre>
  
  <p>I know this is a typical Windows error, but I'm working on Ubuntu. Anyone knows how to solve this error?</p>