摘要: import osimport shutil1.删除普通文件夹 shutil.rmtree(path,True)2.删除文件名称过长导致无法删除的文件夹 def re_move(): path_ = "要删除的文件夹路径" file_list = os.listdir(path_) for file 阅读全文
posted @ 2019-07-12 17:00 Satty嵩 阅读(441) 评论(0) 推荐(0) 编辑