📜  python 删除目录不为空 - Python 代码示例

📅  最后修改于: 2022-03-11 14:46:38.841000             🧑  作者: Mango

代码示例2
import shutil

shutil.rmtree('/folder_name')
shutil.rmtree('/folder_name', ignore_errors=True)  # for read only files