urllib
— URL handling modules¶Source code: Lib/urllib/
urllib
is a package that collects several modules for working with URLs:
urllib.request
for opening and reading URLsurllib.error
containing the exceptions raised by urllib.request
urllib.parse
for parsing URLsurllib.robotparser
for parsing robots.txt
files