diff options
Diffstat (limited to 'devdocs/python~3.12/library%2Furllib.html')
| -rw-r--r-- | devdocs/python~3.12/library%2Furllib.html | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/devdocs/python~3.12/library%2Furllib.html b/devdocs/python~3.12/library%2Furllib.html new file mode 100644 index 00000000..4eb00406 --- /dev/null +++ b/devdocs/python~3.12/library%2Furllib.html @@ -0,0 +1,11 @@ + <span id="urllib-url-handling-modules"></span><h1>urllib — URL handling modules</h1> <p><strong>Source code:</strong> <a class="reference external" href="https://github.com/python/cpython/tree/3.12/Lib/urllib/">Lib/urllib/</a></p> <p><code>urllib</code> is a package that collects several modules for working with URLs:</p> <ul class="simple"> <li> +<a class="reference internal" href="urllib.request#module-urllib.request" title="urllib.request: Extensible library for opening URLs."><code>urllib.request</code></a> for opening and reading URLs</li> <li> +<a class="reference internal" href="urllib.error#module-urllib.error" title="urllib.error: Exception classes raised by urllib.request."><code>urllib.error</code></a> containing the exceptions raised by <a class="reference internal" href="urllib.request#module-urllib.request" title="urllib.request: Extensible library for opening URLs."><code>urllib.request</code></a> +</li> <li> +<a class="reference internal" href="urllib.parse#module-urllib.parse" title="urllib.parse: Parse URLs into or assemble them from components."><code>urllib.parse</code></a> for parsing URLs</li> <li> +<a class="reference internal" href="urllib.robotparser#module-urllib.robotparser" title="urllib.robotparser: Load a robots.txt file and answer questions about fetchability of other URLs."><code>urllib.robotparser</code></a> for parsing <code>robots.txt</code> files</li> </ul> <div class="_attribution"> + <p class="_attribution-p"> + © 2001–2023 Python Software Foundation<br>Licensed under the PSF License.<br> + <a href="https://docs.python.org/3.12/library/urllib.html" class="_attribution-link">https://docs.python.org/3.12/library/urllib.html</a> + </p> +</div> |
