summaryrefslogtreecommitdiff
path: root/Doc/library/urllib.rst
blob: 8e308bc589ac746a986f063cfae7cc1f539a3384 (plain)
1
2
3
4
5
6
7
8
9
10
11
:mod:`urllib` --- URL handling modules
======================================

.. module:: 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