[EMAIL PROTECTED] wrote: > I'm running Python 2.5 on Windows XP. When I try to do this: > > [code] > import select > select.select([], [], []) > [/code] > > I get this: > > [output] > Traceback (most recent call last): > File "C:/Documents and Settings/Grebekel/Desktop/s.py", line 2, in > <module> > select.select([],[],[]) > error: (10022, 'An invalid argument was supplied') > [/output] > > Is there anything I should be aware of to get select() working under > Windows?
like, say, only calling select if you actually have something you want to select on? (if you want to sleep, use time.sleep()) </F> -- http://mail.python.org/mailman/listinfo/python-list