title: why does urllib.urlopen throw an exception in python 3?
body: <p>Why is the following python code throwing an exception?</p>
  
  <pre><code>import urllib
  
  htmlfile=urllib.urlopen("http://google.com")
  htmltext=htmlfile.read()
  print (htmltext)
  </code></pre>
  
  <p><em>Traceback</em></p>
  
  <pre><code>Traceback (most recent call last):
    File "C:/Users/dhfur/Desktop/webcrawl1.py", line 3, in &lt;module&gt;
      htmlfile=urllib.urlopen("http://google.com")
  AttributeError: 'module' object has no attribute 'urlopen'
  </code></pre>