《Python 编程从入门到实践》———— 标准库

 Python 库是一组模块,安装的 Python 都可以包含它。你现在对类的工作原理已有大致的了解,可以开始使用其他程序员编写好的模块了。可使用标准库中的任何函数和类,为此只需在程序开头包含一条简单的import语句。这里先给大家统计一下标准库,对于常用的库,我后续会出一个系列来介绍。第三方库的数量过大,这里也不做总结和展示。对于常用的第三方库,后续也会更新一个系列。

Python 的标准库
模组 描述 官方链接
文本处理 string 常见的字符串操作 https://docs.python.org/zh-cn/3/library/stdtypes.html
re 正则表达式操作 https://docs.python.org/zh-cn/3/library/re.html
difflib 计算差异的辅助工具 https://docs.python.org/zh-cn/3/library/difflib.html
textwrap 文本自动换行与填充 https://docs.python.org/zh-cn/3/library/textwrap.html
unicodedata Unicode 数据库 https://docs.python.org/zh-cn/3/library/unicodedata.html
stringprep 因特网字符串预备 https://docs.python.org/zh-cn/3/library/stringprep.html
readline GNU readline 接口 https://docs.python.org/zh-cn/3/library/readline.html
rlcompleter GNU readline 的补全函数 https://docs.python.org/zh-cn/3/library/rlcompleter.html
二进制数据服务 struct 将字节串解读为打包的二进制数据 https://docs.python.org/zh-cn/3/library/struct.html
codecs 编解码器注册和相关基类 https://docs.python.org/zh-cn/3/library/codecs.html
数据类型 datetime 基本的日期和时间类型 https://docs.python.org/zh-cn/3/library/datetime.html
zoneinfo IANA 时区支持 https://docs.python.org/zh-cn/3/library/zoneinfo.html
calendar 日历相关函数 https://docs.python.org/zh-cn/3/library/calendar.html
collections 容器数据类型 https://docs.python.org/zh-cn/3/library/collections.html
collections.abc 容器的抽象基类 https://docs.python.org/zh-cn/3/library/collections.abc.html
heapq 堆队列算法 https://docs.python.org/zh-cn/3/library/heapq.html
bisect 数组二分查找算法 https://docs.python.org/zh-cn/3/library/bisect.html
array 高效的数值数组 https://docs.python.org/zh-cn/3/library/array.html
weakref 弱引用 https://docs.python.org/zh-cn/3/library/weakref.html
types 动态类型创建和内置类型名称 https://docs.python.org/zh-cn/3/library/types.html
copy 浅层 (shallow) 和深层 (deep) 复制操作 https://docs.python.org/zh-cn/3/library/copy.html
pprint 数据美化输出 https://docs.python.org/zh-cn/3/library/pprint.html
reprlib 另一种 repr() 实现 https://docs.python.org/zh-cn/3/library/reprlib.html
enum 对枚举的支持 https://docs.python.org/zh-cn/3/library/enum.html
graphlib 使用类似图形的结构进行操作的功能 https://docs.python.org/zh-cn/3/library/graphlib.html
数字和数学模块 numbers 数字的抽象基类 https://docs.python.org/zh-cn/3/library/numbers.html
math 数学函数 https://docs.python.org/zh-cn/3/library/math.html
cmath 关于复数的数学函数 https://docs.python.org/zh-cn/3/library/cmath.html
decimal 十进制定点和浮点运算 https://docs.python.org/zh-cn/3/library/decimal.html
fractions 分数 https://docs.python.org/zh-cn/3/library/fractions.html
random 生成伪随机数 https://docs.python.org/zh-cn/3/library/random.html
statistics 数学统计函数 https://docs.python.org/zh-cn/3/library/statistics.html
函数式编程模块 itertools 为高效循环而创建迭代器的函数 https://docs.python.org/zh-cn/3/library/itertools.html
functools 高阶函数和可调用对象上的操作 https://docs.python.org/zh-cn/3/library/functools.html
operator 标准运算符替代函数 https://docs.python.org/zh-cn/3/library/operator.html
文件和目录访问 pathlib 面向对象的文件系统路径 https://docs.python.org/zh-cn/3/library/pathlib.html
os.path 常用路径操作 https://docs.python.org/zh-cn/3/library/os.path.html
fileinput 迭代来自多个输入流的行 https://docs.python.org/zh-cn/3/library/fileinput.html
stat 解析 stat() 结果 https://docs.python.org/zh-cn/3/library/stat.html
filecmp 文件及目录的比较 https://docs.python.org/zh-cn/3/library/filecmp.html
tempfile 生成临时文件和目录 https://docs.python.org/zh-cn/3/library/tempfile.html
glob Unix 风格路径名模式扩展 https://docs.python.org/zh-cn/3/library/glob.html
fnmatch Unix 文件名模式匹配 https://docs.python.org/zh-cn/3/library/fnmatch.html
linecache 随机读写文本行 https://docs.python.org/zh-cn/3/library/linecache.html
shutil 高阶文件操作 https://docs.python.org/zh-cn/3/library/shutil.html
数据持久化 pickle Python 对象序列化 https://docs.python.org/zh-cn/3/library/pickle.html
copyreg 注册配合 pickle 模块使用的函数 https://docs.python.org/zh-cn/3/library/copyreg.html
shelve Python 对象持久化 https://docs.python.org/zh-cn/3/library/shelve.html
marshal 内部 Python 对象序列化 https://docs.python.org/zh-cn/3/library/marshal.html
dbm Unix "数据库" 接口 https://docs.python.org/zh-cn/3/library/dbm.html
sqlite3 SQLite 数据库 DB-API 2.0 接口模块 https://docs.python.org/zh-cn/3/library/sqlite3.html
数据压缩和存档 zlib 与 gzip 兼容的压缩 https://docs.python.org/zh-cn/3/library/zlib.html
gzip 对 gzip 格式的支持 https://docs.python.org/zh-cn/3/library/gzip.html
bz2 对 bzip2 压缩算法的支持 https://docs.python.org/zh-cn/3/library/bz2.html
lzma 用 LZMA 算法压缩 https://docs.python.org/zh-cn/3/library/lzma.html
zipfile 使用ZIP存档 https://docs.python.org/zh-cn/3/library/zipfile.html
tarfile 读写tar归档文件 https://docs.python.org/zh-cn/3/library/tarfile.html
文件格式 csv CSV 文件读写 https://docs.python.org/zh-cn/3/library/csv.html
configparser 配置文件解析器 https://docs.python.org/zh-cn/3/library/configparser.html《/td>
netrc netrc 文件处理 https://docs.python.org/zh-cn/3/library/netrc.html
xdrlib 编码与解码 XDR 数据 https://docs.python.org/zh-cn/3/library/xdrlib.html
plistlib 生成与解析 Apple .plist 文件 https://docs.python.org/zh-cn/3/library/plistlib.html
加密服务 hashlib 安全哈希与消息摘要 https://docs.python.org/zh-cn/3/library/hashlib.html
hmac 基于密钥的消息验证 https://docs.python.org/zh-cn/3/library/hmac.html
secrets 生成管理密码的安全随机数 https://docs.python.org/zh-cn/3/library/secrets.html
通用操作系统服务 os 多种操作系统接口 https://docs.python.org/zh-cn/3/library/os.html
io 处理流的核心工具 https://docs.python.org/zh-cn/3/library/io.html
time 时间的访问和转换 https://docs.python.org/zh-cn/3/library/time.html
argparse 命令行选项、参数和子命令解析器 https://docs.python.org/zh-cn/3/library/argparse.html
getopt C 风格的命令行选项解析器 https://docs.python.org/zh-cn/3/library/getopt.html
logging Python 的日志记录工具 https://docs.python.org/zh-cn/3/library/logging.html
logging.config 日志记录配置 https://docs.python.org/zh-cn/3/library/logging.config.html
logging.handlers 日志处理程序 https://docs.python.org/zh-cn/3/library/logging.handlers.html
getpass 便携式密码输入工具 https://docs.python.org/zh-cn/3/library/getpass.html
curses 终端字符单元显示的处理 https://docs.python.org/zh-cn/3/library/curses.html
curses.textpad 用于 curses 程序的文本输入控件 https://docs.python.org/zh-cn/3/library/curses.html#module-curses.textpad
curses.ascii 用于 ASCII 字符的工具 https://docs.python.org/zh-cn/3/library/curses.ascii.html
curses.panel curses 的面板栈扩展 https://docs.python.org/zh-cn/3/library/curses.panel.html
platform 获取底层平台的标识数据 https://docs.python.org/zh-cn/3/library/platform.html
errno 标准 errno 系统符号 https://docs.python.org/zh-cn/3/library/errno.html
ctypes Python 的外部函数库 https://docs.python.org/zh-cn/3/library/ctypes.html
并发执行 threading 基于线程的并行 https://docs.python.org/zh-cn/3/library/threading.html
multiprocessing 基于进程的并行 https://docs.python.org/zh-cn/3/library/multiprocessing.html
multiprocessing.shared_memory 可从进程直接访问的共享内存 https://docs.python.org/zh-cn/3/library/multiprocessing.shared_memory.html
concurrent.futures 启动并行任务 https://docs.python.org/zh-cn/3/library/concurrent.futures.html
subprocess 子进程管理 https://docs.python.org/zh-cn/3/library/subprocess.html
sched 事件调度器 https://docs.python.org/zh-cn/3/library/sched.html
queue 一个同步的队列类 https://docs.python.org/zh-cn/3/library/queue.html
contextvars 上下文变量 https://docs.python.org/zh-cn/3/library/contextvars.html
_thread 底层多线程 API https://docs.python.org/zh-cn/3/library/_thread.html
网络与进程通信 asyncio 异步 I/O https://docs.python.org/zh-cn/3/library/asyncio.html
socket 底层网络接口 https://docs.python.org/zh-cn/3/library/socket.html
ssl 套接字对象的 TLS/SSL 包装器 https://docs.python.org/zh-cn/3/library/ssl.html
select 等待 I/O 完成 https://docs.python.org/zh-cn/3/library/select.html
selectors 高级 I/O 复用库 https://docs.python.org/zh-cn/3/library/selectors.html
asyncore 异步套接字处理器 https://docs.python.org/zh-cn/3/library/asyncore.html
asynchat 异步套接字指令/响应处理程序 https://docs.python.org/zh-cn/3/library/asynchat.html
signal 设置异步事件处理程序 https://docs.python.org/zh-cn/3/library/signal.html
mmap 内存映射文件支持 https://docs.python.org/zh-cn/3/library/mmap.html
互联网数据处理 email 电子邮件与 MIME 处理包 https://docs.python.org/zh-cn/3/library/email.html
json JSON 编码和解码器 https://docs.python.org/zh-cn/3/library/json.html
mailcap Mailcap 文件处理 https://docs.python.org/zh-cn/3/library/mailcap.html
mailbox 操作多种格式的邮箱 https://docs.python.org/zh-cn/3/library/mailbox.html
mimetypes 映射文件名到 MIME 类型 https://docs.python.org/zh-cn/3/library/mimetypes.html
base64 Base16, Base32, Base64, Base85 数据编码 https://docs.python.org/zh-cn/3/library/base64.html
binhex 对binhex4文件进行编码和解码 https://docs.python.org/zh-cn/3/library/binhex.html
binascii 二进制和 ASCII 码互转 https://docs.python.org/zh-cn/3/library/binascii.html
quopri 编码与解码经过 MIME 转码的可打印数据 https://docs.python.org/zh-cn/3/library/quopri.html
uu 对 uuencode 文件进行编码与解码 https://docs.python.org/zh-cn/3/library/uu.html
结构化标记处理工具 html 超文本标记语言支持 https://docs.python.org/zh-cn/3/library/html.html
html.parser 简单的 HTML 和 XHTML 解析器 https://docs.python.org/zh-cn/3/library/html.parser.html
html.entities HTML 一般实体的定义 https://docs.python.org/zh-cn/3/library/html.entities.html
xml.etree.ElementTree ElementTree XML API https://docs.python.org/zh-cn/3/library/xml.etree.elementtree.html
xml.dom 文档对象模型 API https://docs.python.org/zh-cn/3/library/xml.dom.html
xml.dom.minidom 最小化的 DOM 实现 https://docs.python.org/zh-cn/3/library/xml.dom.minidom.html
xml.dom.pulldom 支持构建部分 DOM 树 https://docs.python.org/zh-cn/3/library/xml.dom.pulldom.html
xml.sax 支持 SAX2 解析器 https://docs.python.org/zh-cn/3/library/xml.sax.html
xml.sax.handler SAX 处理句柄的基类 https://docs.python.org/zh-cn/3/library/xml.sax.handler.html
xml.sax.saxutils SAX 工具集 https://docs.python.org/zh-cn/3/library/xml.sax.utils.html
xml.sax.xmlreader 用于 XML 解析器的接口 https://docs.python.org/zh-cn/3/library/xml.sax.reader.html
xml.parsers.expat Fast XML parsing using Expat https://docs.python.org/zh-cn/3/library/pyexpat.html
互联网协议和支持 webbrowser 方便的Web浏览器控制器 https://docs.python.org/zh-cn/3/library/webbrowser.html
cgi Common Gateway Interface support https://docs.python.org/zh-cn/3/library/cgi.html
cgitb 用于 CGI 脚本的回溯管理器 https://docs.python.org/zh-cn/3/library/cgitb.html
wsgiref WSGI Utilities and Reference Implementation https://docs.python.org/zh-cn/3/library/wsgiref.html
urllib.request 用于打开 URL 的可扩展库 https://docs.python.org/zh-cn/3/library/urllib.request.html
urllib.response urllib 使用的 Response 类 https://docs.python.org/zh-cn/3/library/urllib.request.html#module-urllib.response
urllib.parse 用于解析 URL https://docs.python.org/zh-cn/3/library/urllib.parse.html
urllib.error urllib.request 引发的异常类 https://docs.python.org/zh-cn/3/library/urllib.error.html
urllib.robotparser robots.txt 语法分析程序 https://docs.python.org/zh-cn/3/library/urllib.robotparser.html
http HTTP 模块 https://docs.python.org/zh-cn/3/library/http.html
http.client HTTP 协议客户端 https://docs.python.org/zh-cn/3/library/http.client.html
ftplib FTP 协议客户端 https://docs.python.org/zh-cn/3/library/ftplib.html
poplib POP3 协议客户端 https://docs.python.org/zh-cn/3/library/poplib.html
imaplib IMAP4 协议客户端 https://docs.python.org/zh-cn/3/library/imaplib.html
nntplib NNTP 协议客户端 https://docs.python.org/zh-cn/3/library/nntplib.html
smtplib SMTP协议客户端 https://docs.python.org/zh-cn/3/library/smtplib.html
telnetlib Telnet 客户端 https://docs.python.org/zh-cn/3/library/telnetlib.html
smtpd SMTP 服务器 https://docs.python.org/zh-cn/3/library/smtpd.html
uuid UUID objects according to RFC 4122 https://docs.python.org/zh-cn/3/library/uuid.html
socketserver A framework for network servers https://docs.python.org/zh-cn/3/library/socketserver.html
http.server HTTP 服务器 https://docs.python.org/zh-cn/3/library/http.server.html
http.cookies HTTP状态管理 https://docs.python.org/zh-cn/3/library/http.cookies.html
http.cookiejar HTTP 客户端的 Cookie 处理 https://docs.python.org/zh-cn/3/library/http.cookiejar.html
xmlrpc.client XML-RPC 客户端访问 https://docs.python.org/zh-cn/3/library/xmlrpc.client.html
xmlrpc.server 基本 XML-RPC 服务器 https://docs.python.org/zh-cn/3/library/xmlrpc.server.html
ipaddress IPv4/IPv6 操作库 https://docs.python.org/zh-cn/3/library/ipaddress.html
多媒体服务 audioop 处理原始音频数据 https://docs.python.org/zh-cn/3/library/audioop.html
aifc 读写 AIFF 和 AIFC 文件 https://docs.python.org/zh-cn/3/library/aifc.html
sunau 读写 Sun AU 文件 https://docs.python.org/zh-cn/3/library/sunau.html
wave 读写WAV格式文件 https://docs.python.org/zh-cn/3/library/wave.html
chunk 读取 IFF 分块数据 https://docs.python.org/zh-cn/3/library/chunk.html
colorsys 颜色系统间的转换 https://docs.python.org/zh-cn/3/library/colorsys.html
imghdr 推测图像类型 https://docs.python.org/zh-cn/3/library/imghdr.html
sndhdr 推测声音文件的类型 https://docs.python.org/zh-cn/3/library/sndhdr.html
ossaudiodev Access to OSS-compatible audio devices https://docs.python.org/zh-cn/3/library/ossaudiodev.html
国际化 gettext 多语种国际化服务 https://docs.python.org/zh-cn/3/library/gettext.html
locale 国际化服务 https://docs.python.org/zh-cn/3/library/locale.html
程序框架 turtle 海龟绘图 https://docs.python.org/zh-cn/3/library/turtle.html
cmd 支持面向行的命令解释器 https://docs.python.org/zh-cn/3/library/cmd.html
shlex Simple lexical analysis https://docs.python.org/zh-cn/3/library/shlex.html
Tk图形用户界面(GUI) tkinter Tcl/Tk的Python接口 https://docs.python.org/zh-cn/3/library/tkinter.html
tkinter.colorchooser 颜色选择对话框 https://docs.python.org/zh-cn/3/library/tkinter.colorchooser.html
tkinter.font Tkinter 字体封装 https://docs.python.org/zh-cn/3/library/tkinter.font.html
- Tkinter 对话框 https://docs.python.org/zh-cn/3/library/dialog.html
tkinter.messagebox Tkinter 消息提示 https://docs.python.org/zh-cn/3/library/tkinter.messagebox.html
tkinter.scrolledtext 滚动文字控件 https://docs.python.org/zh-cn/3/library/tkinter.scrolledtext.html
tkinter.dnd 拖放操作支持 https://docs.python.org/zh-cn/3/library/tkinter.dnd.html
tkinter.ttk Tk主题部件 https://docs.python.org/zh-cn/3/library/tkinter.ttk.html
tkinter.tix Extension widgets for Tk https://docs.python.org/zh-cn/3/library/tkinter.tix.html
开发工具 typing 类型提示支持 https://docs.python.org/zh-cn/3/library/typing.html
pydoc 文档生成器和在线帮助系统 https://docs.python.org/zh-cn/3/library/pydoc.html
doctest 测试交互性的Python示例 https://docs.python.org/zh-cn/3/library/doctest.html
unittest 单元测试框架 https://docs.python.org/zh-cn/3/library/unittest.html
unittest.mock mock对象库 https://docs.python.org/zh-cn/3/library/unittest.mock.html
test Python回归测试包 https://docs.python.org/zh-cn/3/library/test.html
test.support Utilities for the Python test suite https://docs.python.org/zh-cn/3/library/test.html#module-test.support
test.support.socket_helper Utilities for socket tests https://docs.python.org/zh-cn/3/library/test.html#module-test.support.socket_helper
test.support.script_helper Utilities for the Python execution tests https://docs.python.org/zh-cn/3/library/test.html#module-test.support.script_helper
test.support.bytecode_helper Support tools for testing correct bytecode generation https://docs.python.org/zh-cn/3/library/test.html#module-test.support.bytecode_helper
调试和分析 bdb Debugger framework https://docs.python.org/zh-cn/3/library/bdb.html
faulthandler Dump the Python traceback https://docs.python.org/zh-cn/3/library/faulthandler.html
pdb Python 的调试器 https://docs.python.org/zh-cn/3/library/pdb.html
timeit 测量小代码片段的执行时间 https://docs.python.org/zh-cn/3/library/timeit.html
trace 跟踪Python语句执行 https://docs.python.org/zh-cn/3/library/trace.html
tracemalloc 跟踪内存分配 https://docs.python.org/zh-cn/3/library/tracemalloc.html
软件打包和分发 distutils 构建和安装 Python 模块 https://docs.python.org/zh-cn/3/library/distutils.html
ensurepip Bootstrapping the pip installer https://docs.python.org/zh-cn/3/library/ensurepip.html
venv 创建虚拟环境 https://docs.python.org/zh-cn/3/library/venv.html
zipapp Manage executable Python zip archives https://docs.python.org/zh-cn/3/library/zipapp.html
Python运行时服务 sys 系统相关的参数和函数 https://docs.python.org/zh-cn/3/library/sys.html
sysconfig Provide access to Python's configuration information https://docs.python.org/zh-cn/3/library/sysconfig.html
builtins 内建对象 https://docs.python.org/zh-cn/3/library/builtins.html
__main__ 顶层脚本环境 https://docs.python.org/zh-cn/3/library/__main__.html
warnings Warning control https://docs.python.org/zh-cn/3/library/warnings.html
dataclasses 数据类 https://docs.python.org/zh-cn/3/library/dataclasses.html
contextlib 为 with语句上下文提供的工具 https://docs.python.org/zh-cn/3/library/contextlib.html
abc 抽象基类 https://docs.python.org/zh-cn/3/library/abc.html
atexit 退出处理器 https://docs.python.org/zh-cn/3/library/atexit.html
traceback 打印或检索堆栈回溯 https://docs.python.org/zh-cn/3/library/traceback.html
__future__ Future 语句定义 https://docs.python.org/zh-cn/3/library/__future__.html
gc 垃圾回收器接口 https://docs.python.org/zh-cn/3/library/gc.html
inspect 检查对象 https://docs.python.org/zh-cn/3/library/inspect.html
site 指定域的配置钩子 https://docs.python.org/zh-cn/3/library/site.html
自定义 Python 解释器 code 解释器基类 https://docs.python.org/zh-cn/3/library/code.html
codeop 编译Python代码 https://docs.python.org/zh-cn/3/library/codeop.html
导入模块 zipimport 从 Zip 存档中导入模块 https://docs.python.org/zh-cn/3/library/zipimport.html
pkgutil 包扩展工具 https://docs.python.org/zh-cn/3/library/pkgutil.html
modulefinder 查找脚本使用的模块 https://docs.python.org/zh-cn/3/library/modulefinder.html
runpy Locating and executing Python modules https://docs.python.org/zh-cn/3/library/runpy.html
importlib import 的实现 https://docs.python.org/zh-cn/3/library/importlib.html
Python 语言服务 parser 访问 Python 解析树 https://docs.python.org/zh-cn/3/library/parser.html
ast 抽象语法树 https://docs.python.org/zh-cn/3/library/ast.html
symtable Access to the compiler's symbol tables https://docs.python.org/zh-cn/3/library/symtable.html
symbol 与 Python 解析树一起使用的常量 https://docs.python.org/zh-cn/3/library/symbol.html
token 与Python解析树一起使用的常量 https://docs.python.org/zh-cn/3/library/token.html
keyword 检验Python关键字 https://docs.python.org/zh-cn/3/library/keyword.html
tokenize 对 Python 代码使用的标记解析器 https://docs.python.org/zh-cn/3/library/tokenize.html
tabnanny 模糊缩进检测 https://docs.python.org/zh-cn/3/library/tabnanny.html
pyclbr Python 模块浏览器支持 https://docs.python.org/zh-cn/3/library/pyclbr.html
py_compile 编译 Python 源文件 https://docs.python.org/zh-cn/3/library/py_compile.html
compileall Byte-compile Python libraries https://docs.python.org/zh-cn/3/library/compileall.html
dis Python 字节码反汇编器 https://docs.python.org/zh-cn/3/library/dis.html
pickletools pickle 开发者工具集 https://docs.python.org/zh-cn/3/library/pickletools.html
杂项服务 formatter 通用格式化输出 https://docs.python.org/zh-cn/3/library/formatter.html
Windows系统相关模块 msilib Read and write Microsoft Installer files https://docs.python.org/zh-cn/3/library/msilib.html
msvcrt 来自 MS VC++ 运行时的有用例程 https://docs.python.org/zh-cn/3/library/msvcrt.html
winreg Windows 注册表访问 https://docs.python.org/zh-cn/3/library/winreg.html
winsound Sound-playing interface for Windows https://docs.python.org/zh-cn/3/library/winsound.html
Unix 专有服务 posix 最常见的 POSIX 系统调用 https://docs.python.org/zh-cn/3/library/posix.html
pwd 用户密码数据库 https://docs.python.org/zh-cn/3/library/pwd.html
spwd The shadow password database https://docs.python.org/zh-cn/3/library/spwd.html
grp 组数据库 https://docs.python.org/zh-cn/3/library/grp.html
crypt Function to check Unix passwords https://docs.python.org/zh-cn/3/library/crypt.html
termios POSIX 风格的 tty 控制 https://docs.python.org/zh-cn/3/library/termios.html
tty 终端控制功能 https://docs.python.org/zh-cn/3/library/tty.html
pty 伪终端工具 https://docs.python.org/zh-cn/3/library/pty.html
fcntl The fcntl and ioctl system calls https://docs.python.org/zh-cn/3/library/fcntl.html
pipes 终端管道接口 https://docs.python.org/zh-cn/3/library/pipes.html
resource Resource usage information https://docs.python.org/zh-cn/3/library/resource.html
nis Sun 的 NIS (黄页) 接口 https://docs.python.org/zh-cn/3/library/nis.html

Guess you like

Origin blog.csdn.net/qq_42957717/article/details/118191581