title: Getting HTML with Pycurl
body: <p>I've been trying to retrieve a page of HTML using pycurl, so I can then parse it for relevant information using str.split and some for loops. I know Pycurl retrieves the HTML, since it prints it to the terminal, however, if I try to do something like</p>
  
  <pre><code>html = str(c.perform())  
  </code></pre>
  
  <p>The variable will just hold a string which says "None". </p>
  
  <p>How can I use pycurl to get the html, or redirect whatever it sends to the console so it can be used as a string as described above?</p>
  
  <p>Thanks a lot to anyone who has any suggestions!</p>