0
点赞
收藏
分享

微信扫一扫

io.UnsupportedOperation: not writable异常解决

生态人 2022-04-01 阅读 84


        今天在做python语感练习的时候,报了如下异常:

io.UnsupportedOperation: not writable异常解决_bug

就是这个红彤彤的异常

io.UnsupportedOperation: not writable

翻译一下,意思是不支持写入的权限。仔细检查了一下,才发现在第一次打开文件的时候忘了设置权限了,于是添加上了之后,程序就成功运行了!!!

io.UnsupportedOperation: not writable异常解决_打开文件_02



举报

相关推荐

0 条评论