CodingYourLife

CodingYourLife

 

Referenzen

 
 

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])

Kommentar schreiben

Kommentar