Georg Brandl | fe7b00f | 2012-10-06 13:49:34 +0200 | [diff] [blame] | 1 | :mod:`urllib` --- URL handling modules |
| 2 | ====================================== |
| 3 | |
Serhiy Storchaka | 5e1c053 | 2013-10-13 20:06:50 +0300 | [diff] [blame] | 4 | .. module:: urllib |
| 5 | |
Georg Brandl | fe7b00f | 2012-10-06 13:49:34 +0200 | [diff] [blame] | 6 | ``urllib`` is a package that collects several modules for working with URLs: |
| 7 | |
| 8 | * :mod:`urllib.request` for opening and reading URLs |
| 9 | * :mod:`urllib.error` containing the exceptions raised by :mod:`urllib.request` |
| 10 | * :mod:`urllib.parse` for parsing URLs |
| 11 | * :mod:`urllib.robotparser` for parsing ``robots.txt`` files |