urllib
The standard library package for working with web addresses and fetching pages, including urllib.request and urllib.parse.
In more detail
urllib.request.urlopen fetches a page and urllib.parse splits and builds addresses and query strings. Many projects use the third-party requests package instead for its simpler interface.
Related terms
- URL — A web address, such as https://example.com/docs, made of a scheme, a host, an optional port and a path.
- query string — The part of a web address after the question mark, made of name=value pairs, such as ?state=open&limit=2.
- HTTP — The protocol web browsers and web servers use to send requests and responses.
Taught in
- A Standard Library Tour — Hands-on Python: Complete Video Course & Book