What is the quickest way to HTTP GET in Python?

Here's a code snippet for making an HTTP GET request using the requests library in Python:

import requests

response = requests.get('http://example.com')
print(response.content)

The get() function makes the GET request and returns a response object. The content attribute of the response object contains the response body in bytes.

Watch a course Python - The Practical Guide

This requests library is very powerful and easy to use, this is one of the most used library to make HTTP request in Python.