You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
466 B
16 lines
466 B
: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
|