requests.get(url) is used to fetch a webpage. It makes a HTTP GET Request method to the specified URL.
r=requests.get(URL)
import requests url="https://wikidev.in" r=requests.get(url) # r is response #r.text gives HTML of the page
Response object.
http://docs.python-requests.org/en/master/user/quickstart/