Python Request_library Explanation

Estimated reading: 1 minute 827 views

python requests

it will take the parameter as URL.

it will give the contents of the page.

and as well as if contents are takeable it will return code as 200 (Which is success)

if not it will return 404 (which is error).

					import requests

URL = ""

page = requests.get(URL)


Leave a Comment

Share this Doc