python - shutil.rmtree(dest,ignore_errors=True) deletes other files but not .log and .tresoslog file? -


i using python command shutil.rmtree(dest,ignore_errors=true) remove files .metadata folder generated when eclipse launched.

this .metadata folder has .log file, .lock file , folder has plugins.

when use command delete files inside .metadata folder .log file , plugins folder gets deleted not .lock folder. throws error saying process can't accessed since used process.

is there way can delete lock file using python command or using batch script?


Comments

Popular posts from this blog

python - How to insert QWidgets in the middle of a Layout? -

python - serve multiple gunicorn django instances under nginx ubuntu -

module - Prestashop displayPaymentReturn hook url -