在执行代码前为了测试方便,我们可以先去掉testfile 文件的写权限,命令如下: chmod -w testfile. 再执行以上代码: $ python test.py Error: 没有找到文件或读取文件 ...
確定! 回上一頁