I'm trying to extract some documents from a zip and I have the following error. The folder has all the permissions if I do manual the extraction works.
PermissionError: [Errno 13] Permission denied: 'D: \ requestsOSM \ downloadPOI'
The code I am using is the following:
filezip = r'D:\requestsOSM\descargaPOI'
fileout = r'D:\requestsOSM\descargaPOI\ExtraccionPOI'
with zipfile.ZipFile(filezip, 'r') as zip_ref:
zip_ref.extractall(fileout)
Probe running visual code as administrator and I have the same problem.