Muốn xóa thư mục chứa file/thư mục con, xóa thư mục (cây) như sau: >>> import shutil >>> shutil.rmtree('my_folder')