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 | |
Terry Jan Reedy | fa089b9 | 2016-06-11 15:02:54 -0400 | [diff] [blame] | 6 | **Source code:** :source:`Lib/urllib/` |
| 7 | |
| 8 | -------------- |
| 9 | |
Georg Brandl | fe7b00f | 2012-10-06 13:49:34 +0200 | [diff] [blame] | 10 | ``urllib`` is a package that collects several modules for working with URLs: |
| 11 | |
| 12 | * :mod:`urllib.request` for opening and reading URLs |
| 13 | * :mod:`urllib.error` containing the exceptions raised by :mod:`urllib.request` |
| 14 | * :mod:`urllib.parse` for parsing URLs |
| 15 | * :mod:`urllib.robotparser` for parsing ``robots.txt`` files |