title: Python 3.6 urllib why line starts with b
body: <p>I am using python 3, and don't understand why the output has b in each start of the line. I don't think this is the case for python 2. Why is this and how to remove it? Thanks</p>
  
  <pre><code>import urllib
  # fhand = urllib.urlopen('http://www.py4inf.com/code/romeo.txt') in Python 2
  fhand = urllib.request.urlopen('http://www.py4inf.com/code/romeo.txt')
  for line in fhand:
      print(line.strip())
  </code></pre>
  
  <p>output looks like this</p>
  
  <pre><code>b'But soft what light through yonder window breaks'
  b'It is the east and Juliet is the sun'
  b'Arise fair sun and kill the envious moon'
  b'Who is already sick and pale with grief'
  </code></pre>