# `urllib` --- URL 处理模块

源代码: Lib/urllib/

`urllib` 是一个收集了多个涉及 URL 的模块的包：

- `urllib.request` 打开和读取 URL

- `urllib.error` 包含 `urllib.request` 抛出的异常

- `urllib.parse` 用于解析 URL

- `urllib.robotparser` 用于解析 `robots.txt` 文件

© 版權所有 2001-2023, Python Software Foundation.
This page is licensed under the Python Software Foundation License Version 2.
Examples, recipes, and other code in the documentation are additionally licensed under the Zero Clause BSD License.
See History and License for more information.
The Python Software Foundation is a non-profit corporation. Please donate.
最後更新於 7月 04, 2023。 Found a bug?
Created using Sphinx 2.4.4.