How come I cannot download an image with urllib.urlretrieve?
<p>I tried to download Google's logo with</p>

<pre><code>import os, urllib
folderName = 'downloadedImages'
if not os.path.exists(folderName):
  os.makedirs(folderName)
urllib.urlretrieve(https://www.google.com/images/srpr/logo3w.png, './' + folderName + '/')
</code></pre>

<p>However, I receive an error: <code>IOError: [Errno 21] Is a directory: './downloadedImages/'</code>.</p>

<p>Why?</p>
