会员
周边
捐助
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
牛二的梦想
公告
日历
导航
博客园
首页
新随笔
新文章
联系
订阅
管理
2020年1月22日
[转载]Python ValueError: IO operation on closed file
摘要: 莫名其妙出现Python ValueError: IO operation on closed file网上大部分是说file close()被提前关闭当然原因不止一个,经过检查发现,添加了如下代码:sys.stdout = io.TextIOWrapper(sys.stdout.buffer, e
阅读全文
posted @ 2020-01-22 14:32 牛二的梦想
阅读(3053)
评论(0)
推荐(0)
编辑
Copyright © 2024 牛二的梦想
Powered by .NET 8.0 on Kubernetes