发生这种错误 一般都是在 读取文件的时候,那么这种错误的原因是什么呢!!?

我们先来看图说话:

Python 3.6 解决"PermissionError: [Errno 13] Permission denied

我们是要找到文件的路劲 而不是文件夹的路径  那么问题反馈的结果是:这不是一个 路径 找不到这样路的文件 所以怎么解决了 要指明 该文件夹下的那个文件,修改后为:

test_report_dir = 'D:\\AutotestFile\\result.html'


相关文章:

  • 2021-05-06
  • 2021-09-25
  • 2022-01-10
  • 2021-10-11
  • 2022-12-23
  • 2022-12-23
  • 2021-04-06
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-10-07
  • 2021-11-01
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-05-21
相关资源
相似解决方案