title: How to manipulate data collected from a web site using request.get
body: <p>I have the following Python code:</p>
  <pre><code>import requests
  
  sitedata = []
  sitedatadownload = requests.get(&quot;https://archive.ics.uci.edu/ml/machine-learning-databases/iris/iris.data&quot;)
  sitedata = sitedatadownload
  sitedata[0]
  </code></pre>
  <p>When I run the code, I get the following error:</p>
  <pre><code>Traceback (most recent call last):
  
    File &quot;D:\Storage\Code\Python\request.py&quot;, line 9, in &lt;module&gt;
      sitedata[0]
  
  TypeError: 'Response' object is not subscriptable
  </code></pre>
  <p>How do I get the data into a state where I can manipulate it please?  Originally, I imported the data into <code>sitedata</code>, but received the same error, so I thought it may work if I downloaded into <code>sitedatadownload</code> and moved it to <code>sitedata</code> but that still doesn't work.  There are lots of resource online about requests.get, but I can't find anything on how to then be able to manipulate the data (except for comments about JSON, but I'm not using that).</p>