urllib — URL handling modules¶
Source code: Lib/urllib/
urllib is a package that collects several modules for working with URLs:
- urllib.requestfor opening and reading URLs
- urllib.errorcontaining the exceptions raised by- urllib.request
- urllib.parsefor parsing URLs
- urllib.robotparserfor parsing- robots.txtfiles