1:mod:`urllib` --- URL handling modules 2====================================== 3 4.. module:: urllib 5 6**Source code:** :source:`Lib/urllib/` 7 8-------------- 9 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 16