开发者社区 问答 正文

shutil.rmtree问题,报错目录非空 ?报错

os.system('attrib -r -h -S -A 3.XXX/. /s')

shutil.rmtree(g_py_path+"\3.XXX")
这样的代码在python里面完全没有问题,在pyqt4里面就时好时坏,报错Directory not empty,不报错的时候就是我svn下载不完全。
请问各位高手怎么解决?
很急

展开
收起
爱吃鱼的程序员 2020-06-23 20:40:29 1136 分享 版权
1 条回答
写回答
取消 提交回答
  • https://developer.aliyun.com/profile/5yerqm5bn5yqg?spm=a2c6h.12873639.0.0.6eae304abcjaIB

    http://blog.csdn.net/my2010sam/article/details/8956353

    2020-06-23 20:40:45
    赞同 展开评论
问答分类:
问答地址: