2012-10-06 08:49:34 -03:00
|
|
|
:mod:`urllib` --- URL handling modules
|
|
|
|
======================================
|
|
|
|
|
2013-10-13 14:06:50 -03:00
|
|
|
.. module:: urllib
|
|
|
|
|
2016-06-11 16:02:54 -03:00
|
|
|
**Source code:** :source:`Lib/urllib/`
|
|
|
|
|
|
|
|
--------------
|
|
|
|
|
2012-10-06 08:49:34 -03:00
|
|
|
``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
|