From the course: Python Essential Libraries

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Introduction to the Requests library

Introduction to the Requests library - Python Tutorial

From the course: Python Essential Libraries

Start my 1-month free trial

Introduction to the Requests library

- [Instructor] Lots of applications exchange data over the Internet, and the Python standard library provides the urllib module to help with this. But using the standard library is often a lot more cumbersome than using one of the most popular third-party HTTP libraries called Requests, which will be the focus of this chapter. So in addition to the basic features of sending and receiving data, the Requests library provides support for things like automatic content decoding and session objects with cookie persistence. There's connection timeouts, and even authentication. So you can find the documentation for the Requests library at this link, and the docs are really pretty good. I highly recommend taking some time to peruse them, after you've finished this chapter. You can see there's a list of some of the features it supports, there's a user guide down here. They've got a really great Quick Start. And so, when you get a chance…

Contents