how to get text from a website in python code example
Example 1: how to read a json resposnse from a link in python
import urllib, json
url = "put url here"
response = urllib.request.urlopen(url)
data = json.loads(response.read())
print (data)
Example 2: how to make a list in python
list = [1, 2, 4, 5, 6]