What command to use instead of urllib.request.urlretrieve?

I'm currently writing a script that downloads a file from a URL import urllib.request urllib.request.urlretrieve(my_url, 'my_filename') The docs urllib.request.urlretrieve state: The following