get the contents and see if it is empty (os.listdir, os.scandir, Path.iterdir) · just call os.rmdir() on all of the directories, and ignore the ...
確定! 回上一頁