Schlagwort: chmod
-
Python nice way to give permission and delete folder
I really should remember this 🙂 dirToDelete=“myFolder“ subprocess.call([‚chmod‘, ‚-R‘, ‚+w‘, dirToDelete]) subprocess.call([‚rm‘, ‚-r‘, dirToDelete])
I really should remember this 🙂 dirToDelete=“myFolder“ subprocess.call([‚chmod‘, ‚-R‘, ‚+w‘, dirToDelete]) subprocess.call([‚rm‘, ‚-r‘, dirToDelete])