How to delete a folder using Python Data 15/10/2020 Autor cristian mihai Categorie Soluții -4 450 Configurare noua (How To) SituatieTo delete an entire folder, use the os.rmdir() method: Solutie Remove the folder “myfolder”: import os os.rmdir(“myfolder”) Note: You can only remove empty folders. Tip solutiePermanent Voteaza Up Down (15 din 34 persoane apreciaza acest articol) ShareTweetShare Despre Autor cristian mihai Solutii Asemanatoare Cum deschidem un RDP in full screen folosind Command Prompt in Windows 10 1 Cum deschidem fereastra Sound folosind Run in Windows 10 2 How to enter text with your voice on a Chromebook 12 Can’t Delete a Windows File or Folder? 0 Top 10 Linux Easter Eggs 4 How to fix – Reading a File: Permission Denied on Linux 10 Leave A Comment? × Cancel Reply Save my name, email, and website in this browser for the next time I comment. four × 9 =
Leave A Comment?