title: What command to use instead of urllib.request.urlretrieve?
body: <p>I'm currently writing a script that downloads a file from a URL</p>
  <pre><code>import urllib.request
  urllib.request.urlretrieve(my_url, 'my_filename')
  </code></pre>
  <p>The docs <a href="http://docs.python.org/3/library/urllib.request.html#urllib.request.urlretrieve" rel="noreferrer"><code>urllib.request.urlretrieve</code></a> state:</p>
  <blockquote>
  <p>The following functions and classes are ported from the Python 2 module urllib (as opposed to urllib2). They might become deprecated at some point in the future.</p>
  </blockquote>
  <p>Therefore I would like to avoid it so I don't have to rewrite this code in the near future.</p>
  <p>I'm unable to find another interface like <code>download(url, filename)</code> in standard libraries.  If <code>urlretrieve</code> is considered a legacy interface in Python 3, what is the replacement?</p>