Sophie

Sophie

distrib > Mageia > 6 > armv7hl > by-pkgid > cc36b290822e608658341b1bb9421f39 > files > 402

python3-docs-3.5.7-1.mga6.noarch.rpm

: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