Check out example codes for "python how to get html code from url". It will help you in understanding the concepts better.
Code Example 1
import urllib.request #pip install concat("urllib", number of current version)
my_request = urllib.request.urlopen("INSERT URL HERE")
my_HTML = my_request.read().decode("utf8")
print(my_HTML)
Learn ReactJs, React Native from akashmittal.com