title: Why do I receive urlopen no attribute error in python 3.7.3?
body: <p>Im new to python and trying to work on geocode data.</p>
  
  <p>I have written the below code to find the drive time between to geocodes. </p>
  
  <pre><code>import urllib.request
  #from urllib.request import urlopen
  import simplejson, urllib
  orig_lat = 52.2296756
  orig_lng = 21.0122287
  dest_lat = 52.406374
  dest_lng = 16.9251681
  orig_coord = orig_lat, orig_lng
  dest_coord = dest_lat, dest_lng
  url = "http://maps.googleapis.com/maps/api/distancematrix/json?origins={0}&amp;destinations={1}&amp;mode=driving&amp;language=en-EN&amp;sensor=false".format(str(orig_coord),str(dest_coord))
  result= simplejson.load(urllib.urlopen(url))
  driving_time = result['rows'][0]['elements'][0]['duration']['value']
  </code></pre>
  
  <p>However, I receive an error:</p>
  
  <pre><code>Traceback (most recent call last):
  
    File "&lt;ipython-input-154-c5d2043b6825&gt;", line 11, in &lt;module&gt;
      result= simplejson.load(urllib.urlopen(url))
  
  AttributeError: module 'urllib' has no attribute 'urlopen'
  </code></pre>
  
  <p>I have seen other posts about this, but none of them work for me as a solution to this attribute error. </p>