Staging
v0.5.1
https://github.com/python/cpython
Raw File
Tip revision: 4452cdcb79fdade13c00eabe63304efa4da1c3ad authored by Larry Hastings on 09 September 2019, 13:39:36 UTC
Sphinx 1.8 is now preferred for building 3.5 docs.
Tip revision: 4452cdc
urllib.rst
:mod:`urllib` --- URL handling modules
======================================

.. module:: urllib

**Source code:** :source:`Lib/urllib/`

--------------

``urllib`` is a package that collects several modules for working with URLs:

* :mod:`urllib.request` for opening and reading URLs
* :mod:`urllib.error` containing the exceptions raised by :mod:`urllib.request`
* :mod:`urllib.parse` for parsing URLs
* :mod:`urllib.robotparser` for parsing ``robots.txt`` files
back to top