import pickle
import requests
url = 'https://archive.ics.uci.edu/ml/machine-learning-databases/iris/iris.data'
respons = requests.get(url)
respons_text = respons.text
print("respons_text is -",respons_text)
data = respons_text.splitlines()
print("data -",data)
red = [[i] for i in data]
print("red -",red)
#pickling the python object
fileobj = open('irisData.pkl','wb')
pickle.dump(red,fileobj)
fileobj.close()

#Reading Of Pickel file
fileobj = open('irisData.pkl','rb')
data = pickle.load(fileobj)
print(data)
c44579d1abe5d31af72f23e2d7403c580c9aa4da
<mask token>

<mask token>
print('respons_text is -', respons_text)
<mask token>
print('data -', data)
<mask token>
print('red -', red)
<mask token>
pickle.dump(red, fileobj)
fileobj.close()
<mask token>
print(data)

<mask token>
url = (
    'https://archive.ics.uci.edu/ml/machine-learning-databases/iris/iris.data')
respons = requests.get(url)
respons_text = respons.text
print('respons_text is -', respons_text)
data = respons_text.splitlines()
print('data -', data)
red = [[i] for i in data]
print('red -', red)
fileobj = open('irisData.pkl', 'wb')
pickle.dump(red, fileobj)
fileobj.close()
fileobj = open('irisData.pkl', 'rb')
data = pickle.load(fileobj)
print(data)

import pickle
import requests
url = (
    'https://archive.ics.uci.edu/ml/machine-learning-databases/iris/iris.data')
respons = requests.get(url)
respons_text = respons.text
print('respons_text is -', respons_text)
data = respons_text.splitlines()
print('data -', data)
red = [[i] for i in data]
print('red -', red)
fileobj = open('irisData.pkl', 'wb')
pickle.dump(red, fileobj)
fileobj.close()
fileobj = open('irisData.pkl', 'rb')
data = pickle.load(fileobj)
print(data)

import pickle
import requests
url = 'https://archive.ics.uci.edu/ml/machine-learning-databases/iris/iris.data'
respons = requests.get(url)
respons_text = respons.text
print("respons_text is -",respons_text)
data = respons_text.splitlines()
print("data -",data)
red = [[i] for i in data]
print("red -",red)
#pickling the python object
fileobj = open('irisData.pkl','wb')
pickle.dump(red,fileobj)
fileobj.close()

#Reading Of Pickel file
fileobj = open('irisData.pkl','rb')
data = pickle.load(fileobj)
print(data)