title: How do I overcome Python http.client.HTTPResponse objects?
body: <p>I have tried to get response from a url, from the following code.
  I am using Python 3.x</p>
  
  <pre><code>from urllib.request import urlopen
  
  url_getallfolders = 'https://qa.wittyparrot.com/alfresco/service/acrowit/userfolderinfo?access_token=TICKET_83361146b0e140f48ba404c3d8457452a92e117f'
  x = urlopen(url_getallfolders)
  print(x)
  </code></pre>
  
  <p>I get the following error:</p>
  
  <pre><code>&lt;http.client.HTTPResponse object at 0x030304B0&gt;
  </code></pre>
  
  <p>I even tried with urllib.urlopen:</p>
  
  <pre><code>x = urllib.urlopen(url_getallfolders)
  print(x)
  </code></pre>
  
  <p>then i get this error:</p>
  
  <pre><code>NameError: name 'urllib' is not defined
  </code></pre>
  
  <p>Kindly help. Thanks in advance</p>