title: Download file as string in python
body: <p>I want to download a file to python as a string. I have tried the following, but it doesn't seem to work. What am I doing wrong, or what else might I do?</p>
  
  <pre><code>from urllib import request
  
  webFile = request.urlopen(url).read()
  print(webFile)
  </code></pre>