0
I am trying to set a default download forwarding directory after using urllib.request.urlretrieve, to avoid having to move the file with and shutil.
Does anyone know if it’s possible and how to do?
0
I am trying to set a default download forwarding directory after using urllib.request.urlretrieve, to avoid having to move the file with and shutil.
Does anyone know if it’s possible and how to do?
Browser other questions tagged python python-3.x urllib
You are not signed in. Login or sign up in order to post.
The function urllib.request.urlretrieve is a legacy Python 2 function and should not be used in new codes at the risk of becoming obsolete at any time. This function has the parameter
filename
where sets the name and path where the information should be saved.– Augusto Vasques