![]() Server : Apache System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64 User : corals ( 1002) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system Directory : /proc/1544360/cwd/usr/share/doc/python3-docs/html/_sources/library/ |
: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