我是靠谱客的博主 瘦瘦皮卡丘,这篇文章主要介绍Python3故障解决之 os.rmdir Directory not emptyPython3故障解决之 os.rmdir Directory not empty,现在分享给大家,希望可以做个参考。

Python3故障解决之 os.rmdir Directory not empty

解决方式

import shutil
shutil.rmtree('/folder_name')
shutil.rmtree('/folder_name', ignore_errors=True)

更多精彩代码请关注我的专栏

  • selenium & python 源码大全
  • reportlab教程和源码大全
  • python源码大全

最后

以上就是瘦瘦皮卡丘最近收集整理的关于Python3故障解决之 os.rmdir Directory not emptyPython3故障解决之 os.rmdir Directory not empty的全部内容,更多相关Python3故障解决之内容请搜索靠谱客的其他文章。

本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
点赞(127)

评论列表共有 0 条评论

立即
投稿
返回
顶部