The select module provides access to platform-specific I/O monitoring functions. The most portable interface is the POSIX function select(), which is available on UNIX and Windows. The module also includes poll(), a UNIX-only API, and several options that only work with specific variants of UNIX.
This post is part of the Python Module of the Week series for Python 3. See PyMOTW.com for more articles from the series.