title: select.select in python need 1 - 3 arguments sequence
body: <p>I keep on receiving this error of 1 - 3 arguments needing to be sequences</p>
  
  <pre><code>import socket               # Import socket module
  import sys 
  import select
  
  s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)        # Create a socket object
  host = "127.0.0.1" # Get local machine name
  port = 50001               # Reserve a port for your service.
  s.bind((host, port))        # Bind to the port
  
  a = []
  b = []
  
  s.listen(1)                 # Now wait for client connection.
  c, addr = s.accept()     # Establish connection with client.
  
  s.setblocking(0)
  
  ready = select.select(s, s, s, 1)  # i believe the error lies in here 
  while True:
     print "reached"
     if ready[0]:
        print "reached1"
        data = mysocket.recv(4096)
     print 'Got connection from', addr
     c.send('Thank you for connecting \r\n') #all strings have to end with /r/n!!!
     print "sent"
  c.close()                # Close the connection
  </code></pre>
  
  <p>Error </p>
  
  <p>Select.select arguments 1 - 3 has to be sequences. </p>
  
  <p>I am new to python and hence i am unsure of what the error is. I googled the select code from another post as i wanted my recv socket to be non blocking</p>