The modules described in this chapter provide interfaces to operating system features that are available on selected operating systems only. The interfaces are generally modeled after the Unix or C interfaces but they are available on some other systems as well (e.g. Windows or NT). Here’s an overview:
select
— 等待 I/O 完成
threading
— 更高级的线程接口
thread
— 多线程控制
dummy_threading
— 直接置换
threading
模块
dummy_thread
— 直接置换
thread
模块
multiprocessing
— 基于进程的 threading 接口
Process
和异常
ctypes
对象
multiprocessing.dummy
模块
mmap
— 内存映射文件支持
readline
— GNU readline 接口
rlcompleter
— 用于 GNU readline 的补全函数