Check out example codes for "python requests get proxy". It will help you in understanding the concepts better.

Code Example 1

import requests

proxies = { "http": "http://10.10.10.10:8000",
           "https": "https://10.10.10.10:8000"
}
r = requests.get("http://toscrape.com", proxies=proxies)

Learn ReactJs, React Native from akashmittal.com