title: Download file with urlretrieve() to subfolder
body: <p>Is it possible to use <code>urlretrieve()</code> in order to download something into a subfolder without expressing it in an absolute but relative manner? 
  For example:</p>
  
  <pre><code>urllib.request.urlretrieve(url, '/downloads/2017/foo.txt')
  </code></pre>
  
  <p>Everytime I add a path to the filename python throws following error:</p>
  
  <blockquote>
    <p>File "C:\Program Files\Python36\lib\urllib\request.py", line 258, in urlretrieve
        tfp = open(filename, 'wb')
    FileNotFoundError: [Errno 2] No such file or directory: '/downloads/2017/foo.txt'</p>
  </blockquote>
  
  <p>But when I use this code:</p>
  
  <pre><code>urllib.request.urlretrieve(url, 'foo.txt')
  </code></pre>
  
  <p>it happily downloads the file.</p>
  
  <p>I think I am missing something basic here, but after searching the interwebs for quite a while I haven't found an answer yet. Does anyone know how relative filepaths should be expressed in the <code>urlretrieve()</code> method?</p>