requests
A popular third-party Python package for making web requests, simpler to use than the standard library's urllib.
In more detail
The course uses it as its example of installing a package with pip. requests.get(url).text fetches a page.
Example
python -m pip install requestsRelated terms
- pip — Python's standard package installer, which downloads packages from the Python Package Index and installs them.
- urllib — The standard library package for working with web addresses and fetching pages, including urllib.request and urllib.parse.
- HTTP — The protocol web browsers and web servers use to send requests and responses.
Taught in
- What Python Is, And Where It Came From — Hands-on Python: Complete Video Course & Book
- Installing Python On Linux — Hands-on Python: Complete Video Course & Book
- Where Python Lives: PATH And Versions — Hands-on Python: Complete Video Course & Book
- pip, requirements, and installing packages — Hands-on Python: Complete Video Course & Book
- A Standard Library Tour — Hands-on Python: Complete Video Course & Book