# `urllib` --- URL 處理模組

原始碼：Lib/urllib/

`urllib` 是一個蒐集了許多處理 URLs 的 module（模組）的 package（套件）：

- `urllib.request` 用來開啟和讀取 URLs

- `urllib.error` 包含了 `urllib.request` 所引發的例外

- `urllib.parse` 用來剖析 URLs

- `urllib.robotparser` 用來剖析 `robots.txt` 檔案

© 版權 2001-2025, 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.
最後更新於 10月 16, 2025。 Found a bug?
Created using Sphinx 3.4.3.