title: Python 3.6.5 urllib set path
body: <p>What I am trying to do is download an image using urllib and save it on the folder of my choice. I have made some progress and found the way to download the image in the same folder as my python script but I can not change the location that the image will be saved.
  For example I have the script on the desktop when I run the script it saves the image on the desktop, what I need it to do is instead of saving it in the desktop save it in a folder named images in the desktop.</p>
  
  <p>The code:</p>
  
  <pre><code>import urllib.request
  from datetime import datetime
  
  def download_image(url):
      t= datetime.now()
      img_name = str(t.day) + "." + str(t.month) + "." + str(t.year) + " - " + str(t.hour) + "." + str(t.minute) + "." + str(t.second)
      full_name = img_name + ".png"
      urllib.request.urlretrieve(url,full_name)
  
  download_image('http://url.com')
  </code></pre>